Skip to content

Commit

Permalink
fix: Remove broken source maps (#1669)
Browse files Browse the repository at this point in the history
* fix: Remove broken source maps

* feat: keep source maps for local debugging

* fix: add missing arg separator `--`
  • Loading branch information
danielbankhead committed Oct 12, 2023
1 parent 4f94ffe commit 56cb3ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -73,12 +73,12 @@
"lint": "gts check",
"compile": "tsc -p .",
"fix": "gts fix",
"pretest": "npm run compile",
"pretest": "npm run compile -- --sourceMap",
"docs": "compodoc src/",
"samples-setup": "cd samples/ && npm link ../ && npm run setup && cd ../",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha build/system-test --timeout 60000",
"presystem-test": "npm run compile",
"presystem-test": "npm run compile -- --sourceMap",
"webpack": "webpack",
"browser-test": "karma start",
"docs-test": "linkinator docs",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"lib": ["es2018", "dom"],
"rootDir": ".",
"outDir": "build"
"outDir": "build",
"sourceMap": false
},
"include": [
"src/*.ts",
Expand Down

0 comments on commit 56cb3ad

Please sign in to comment.