add inlude paths later on
This commit is contained in:
parent
975f27d241
commit
ef4ee3ee0b
4
dist/index.d.ts
vendored
4
dist/index.d.ts
vendored
@ -7,6 +7,10 @@ export declare class Smartsass {
|
||||
includePaths: any[];
|
||||
entryFilePath: string;
|
||||
constructor(optionsArg: ISmartsassConstructorOptions);
|
||||
/**
|
||||
* add further include paths
|
||||
*/
|
||||
addIncludePaths(includePathsArray: string[]): void;
|
||||
/**
|
||||
* renders the Smartsass classes' entryfile and returns result as string
|
||||
*/
|
||||
|
10
dist/index.js
vendored
10
dist/index.js
vendored
@ -19,6 +19,14 @@ class Smartsass {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* add further include paths
|
||||
*/
|
||||
addIncludePaths(includePathsArray) {
|
||||
for (let includePath of includePathsArray) {
|
||||
this.includePaths.push(includePath);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* renders the Smartsass classes' entryfile and returns result as string
|
||||
*/
|
||||
@ -47,4 +55,4 @@ class Smartsass {
|
||||
}
|
||||
}
|
||||
exports.Smartsass = Smartsass;
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBQUEsK0NBQThDO0FBVTlDO0lBR0UsWUFBWSxVQUF3QztRQUZwRCxpQkFBWSxHQUFHLEVBQUUsQ0FBQTtRQUdmLElBQUksQ0FBQyxhQUFhLEdBQUcsVUFBVSxDQUFDLGFBQWEsQ0FBQTtRQUM3QyxFQUFFLENBQUEsQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQztZQUMzQixHQUFHLENBQUMsQ0FBQyxJQUFJLFdBQVcsSUFBSSxVQUFVLENBQUMsWUFBWSxDQUFDLENBQUMsQ0FBQztnQkFDaEQsSUFBSSxDQUFDLFlB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ENBQUM7Z0JBQ1IsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQTtnQkFDaEIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQTtZQUNsQixDQUFDO1lBQ0QsSUFBSSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQTtRQUN0QixDQUFDLENBQUMsQ0FBQTtRQUNGLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFBO0lBQ3JCLENBQUM7SUFFRDs7T0FFRztJQUNHLGNBQWMsQ0FBRSxjQUFzQjs7WUFDMUMsSUFBSSxNQUFNLEdBQUcsTUFBTSxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUE7WUFDaEMsTUFBTSxPQUFPLENBQUMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBQyxRQUFRLEVBQUUsRUFBRSxjQUFjLENBQUMsQ0FBQTtRQUM1RSxDQUFDO0tBQUE7Q0FDRjtBQTlDRCw4QkE4Q0MifQ==
|
@ -20,6 +20,15 @@ export class Smartsass {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* add further include paths
|
||||
*/
|
||||
addIncludePaths (includePathsArray: string[]) {
|
||||
for (let includePath of includePathsArray) {
|
||||
this.includePaths.push(includePath)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* renders the Smartsass classes' entryfile and returns result as string
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user