Skip to content

Commit

Permalink
Reduce bundle size by removing source map from dist
Browse files Browse the repository at this point in the history
We don't need that. code is readable enough
  • Loading branch information
kopach committed Jun 18, 2020
1 parent 442789a commit bf89a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"scripts": {
"adr:update": "adr update",
"prebuild": "rimraf dist && npm run generate-public-api-schema",
"build": "tsc",
"build": "tsc --sourceMap false",
"build:watch": "concurrently --kill-others --prefix '{name}:' --names 'TS,MODEL' --prefix-colors 'magenta,blue' \"npm run build -- --watch\" \"npm run generate-public-api-schema:watch\"",
"generate-public-api-schema": "make-dir dist && typescript-json-schema src/model.ts PublicAPI --out dist/public_api.schema.json",
"generate-public-api-schema:watch": "onchange --kill --initial 'src/model.ts' -- npm run generate-public-api-schema",
Expand Down

0 comments on commit bf89a85

Please sign in to comment.