Unverified Commit a802a3c0 authored by Daz DeBoer's avatar Daz DeBoer
Browse files

Generate source-map files when compiling

This will make reported errors easier to link back to Typescript sources.
parent d06e19f8
Loading
Loading
Loading
Loading
+1 −1
Changes for package.json: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
    "format": "prettier --write **/*.ts",
    "format-check": "prettier --check **/*.ts",
    "lint": "eslint src/**/*.ts",
    "build": "ncc build src/main.ts --out dist/main --minify && ncc build src/post.ts --out dist/post --minify",
    "build": "ncc build src/main.ts --out dist/main --source-map --minify && ncc build src/post.ts --out dist/post --source-map --minify",
    "test": "jest",
    "all": "npm run format && npm run lint && npm run build && npm test"
  },