Skip to content

Commit 94428e4

Browse files
committed
fix: Correct build path
1 parent a61b43e commit 94428e4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/build.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ const pkg = require('../package.json');
88
const { makeConfig } = require('./tools');
99

1010
const [CONFIGS_DIR_REL, PRESETS_DIR_REL] = ['./build/configurations/', './build/presets/'];
11-
const [CONFIGS_DIR, PRESETS_DIR] = [resolve('..', CONFIGS_DIR_REL), resolve('..', PRESETS_DIR_REL)];
11+
const [CONFIGS_DIR, PRESETS_DIR] = [
12+
resolve(__dirname, '..', CONFIGS_DIR_REL),
13+
resolve(__dirname, '..', PRESETS_DIR_REL),
14+
];
1215

1316
[CONFIGS_DIR, PRESETS_DIR].forEach(dir => {
1417
fs.rmSync(dir, { recursive: true, force: true });

0 commit comments

Comments
 (0)