fix(build): do not generate sourcemap, fixes #295

This commit is contained in:
Bastian Ike
2023-01-19 10:10:21 +01:00
committed by Bastian
parent 1bb5fdb0ba
commit e4d9a6fb97
3 changed files with 4 additions and 3 deletions

View File

@@ -15,8 +15,8 @@
},
"scripts": {
"prepare": "husky install && npm run build:scripts",
"start": "react-scripts start",
"build": "react-scripts build",
"start": "GENERATE_SOURCEMAP=false react-scripts start",
"build": "GENERATE_SOURCEMAP=false react-scripts build",
"build:scripts": "tsc --project tsconfig.scripts.json",
"test": "react-scripts test --watchAll=false",
"ts:check": "tsc --noEmit",