merge upstream 2025-02-03
This commit is contained in:
@@ -23,10 +23,14 @@ const options = {
|
||||
sourcemap: 'linked',
|
||||
};
|
||||
|
||||
// js-built配下をすべて削除する
|
||||
fs.rmSync('./js-built', { recursive: true, force: true });
|
||||
const args = process.argv.slice(2).map(arg => arg.toLowerCase());
|
||||
|
||||
if (process.argv.map(arg => arg.toLowerCase()).includes('--watch')) {
|
||||
// js-built配下をすべて削除する
|
||||
if (!args.includes('--no-clean')) {
|
||||
fs.rmSync('./js-built', { recursive: true, force: true });
|
||||
}
|
||||
|
||||
if (args.includes('--watch')) {
|
||||
await watchSrc();
|
||||
} else {
|
||||
await buildSrc();
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
"@typescript-eslint/parser": "7.17.0",
|
||||
"esbuild": "0.24.0",
|
||||
"eslint-plugin-vue": "9.31.0",
|
||||
"nodemon": "3.1.7",
|
||||
"typescript": "5.6.3",
|
||||
"vue-eslint-parser": "9.4.3"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user