package.json: empty outDir when building, add yarn preview

This commit is contained in:
Alex Gleason 2023-09-15 14:08:50 -05:00
parent 1c7b95f12a
commit a9624dea9a
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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",