Skip to content

Commit

Permalink
fix: Do not build Vite in development mode because of vue2 plugin
Browse files Browse the repository at this point in the history
We have comments between `v-if` and `v-else` which is not allowed.
For reference see this: vitejs/vite-plugin-vue2#88

Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Jun 22, 2023
1 parent 0fcb6aa commit e2c2d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
"watch:module": "NODE_ENV=development vite build --watch",
"watch:module": "NODE_ENV=production vite build --watch",
"build": "webpack --node-env production --progress && npm run build:module",
"build:module": "NODE_ENV=production vite build",
"l10n:extract": "node build/extract-l10n.js",
Expand Down

0 comments on commit e2c2d88

Please sign in to comment.