mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-29 03:30:57 -05:00
Generate source-map files when compiling
This will make reported errors easier to link back to Typescript sources.
This commit is contained in:
parent
d06e19f862
commit
a802a3c0ce
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue