Browse Source

Add sourcemaps to build

unoptim
GreatBearShark 2 years ago
parent
commit
6295f8702c
  1. 2
      package.json

2
package.json

@ -6,7 +6,7 @@
"license": "AGPL-3.0-or-later",
"scripts": {
"api-test": "jest src/api_tests/api.spec.ts",
"build": "node generate_translations.js && node generate_git_verison.js && tsc --noEmit && NODE_ENV=production vite build --base=/static/",
"build": "node generate_translations.js && node generate_git_verison.js && tsc --noEmit && NODE_ENV=production vite build --base=/static/ --sourcemap",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"start": "node generate_translations.js && vite --port 4444 --open",
"storybook": "start-storybook -p 9009",

Loading…
Cancel
Save