glyphix 1.0.37 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/glyphix.js +5 -6
- package/package.json +1 -1
package/bin/glyphix.js
CHANGED
|
@@ -243,7 +243,11 @@ var GxGenerate = class {
|
|
|
243
243
|
}
|
|
244
244
|
]
|
|
245
245
|
};
|
|
246
|
-
const customConfigPath = (0, import_node_path3.resolve)(
|
|
246
|
+
const customConfigPath = (0, import_node_path3.resolve)(
|
|
247
|
+
this.sourceRoot,
|
|
248
|
+
"..",
|
|
249
|
+
"glyphix.config.js"
|
|
250
|
+
);
|
|
247
251
|
if (!(0, import_node_fs.existsSync)(customConfigPath)) return internalConfig;
|
|
248
252
|
try {
|
|
249
253
|
const useConfig = require(customConfigPath);
|
|
@@ -275,11 +279,6 @@ var GxGenerate = class {
|
|
|
275
279
|
return;
|
|
276
280
|
}
|
|
277
281
|
const curDir = process.cwd();
|
|
278
|
-
const userConfig = (0, import_node_path3.resolve)(
|
|
279
|
-
this.sourceRoot,
|
|
280
|
-
"..",
|
|
281
|
-
"glyphix.config.js"
|
|
282
|
-
);
|
|
283
282
|
process.chdir((0, import_node_path3.resolve)(this.sourceRoot, ".."));
|
|
284
283
|
const installDepProcess = (0, import_node_child_process.spawn)("npm", ["install"]);
|
|
285
284
|
installDepProcess.on("error", (err) => {
|