package.json: empty outDir when building, add yarn preview
This commit is contained in:
parent
1c7b95f12a
commit
a9624dea9a
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@
|
|||
"scripts": {
|
||||
"start": "npx vite serve",
|
||||
"dev": "${npm_execpath} run start",
|
||||
"build": "npx vite build",
|
||||
"build": "npx vite build --emptyOutDir",
|
||||
"preview": "npx vite preview",
|
||||
"audit:fix": "npx yarn-audit-fix",
|
||||
"manage:translations": "npx ts-node ./scripts/translationRunner.ts",
|
||||
"i18n": "rm -rf build tmp && npx cross-env NODE_ENV=production ${npm_execpath} run build && ${npm_execpath} manage:translations en",
|
||||
|
|
Loading…
Reference in a new issue