Initial
This commit is contained in:
1 parent
f31fcd9e84
commit
8c60e154a7
13 files changed
+1163
-13
No files matched your search
@@ -5,9 +5,6 @@ if (fs.existsSync('dist/index.html')) {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
const result = spawnSync('npm', ['run', 'build'], {
|
||||
stdio: 'inherit',
|
||||
shell: process.platform === 'win32'
|
||||
});
|
||||
const result = spawnSync(process.execPath, ['node_modules/vite/bin/vite.js', 'build'], { stdio: 'inherit' });
|
||||
|
||||
process.exit(result.status ?? 1);
|
||||
Reference in new issue
Block a user