From bf89a85fe928ac468c4cb669cab4346a229c43ce Mon Sep 17 00:00:00 2001 From: Ihor Kopach Date: Wed, 17 Jun 2020 22:11:39 +0200 Subject: [PATCH] Reduce bundle size by removing source map from dist We don't need that. code is readable enough --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cbc7b427..dba0c248 100644 --- a/package.json +++ b/package.json @@ -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",