We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb7d68 commit f1821fdCopy full SHA for f1821fd
packages/@css-blocks/core/src/configuration/resolver.ts
@@ -28,7 +28,7 @@ const SIMPLE_KEYS: Array<ConfigurationSimpleKeys> = [
28
const DEFAULTS: ResolvedConfiguration = {
29
outputMode: OutputMode.BEM,
30
importer: defaultImporter,
31
- rootDir: process.cwd(),
+ rootDir: "",
32
importerData: {},
33
preprocessors: {},
34
disablePreprocessChaining: false,
@@ -43,6 +43,7 @@ class Resolver implements ResolvedConfiguration {
43
44
constructor(options?: Options, defaults?: Options) {
45
this._opts = { ...DEFAULTS };
46
+ this.setAll({rootDir: process.cwd()});
47
this.setAll(defaults);
48
this.setAll(options);
49
}
0 commit comments