From 328c68131bd6508384cdcd1e3bc20464d7e8ef09 Mon Sep 17 00:00:00 2001 From: schmelczerandras Date: Sat, 19 Sep 2020 17:29:19 +0200 Subject: [PATCH] Remove source mapping from output --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index acfa052..739bf45 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "start": "webpack-dev-server --mode development", "lint": "npx eslint --fix \"src/**/*.ts\" && npx prettier --write \"src/**/*.ts\"", - "build": "webpack --mode production && find dist -type f -not -name '*.html' | xargs rm" + "build": "webpack --mode production && find dist -type f -not -name '*.html' | xargs rm && sed -i 's/^\\/\\/#.*.map//' dist/index.html" }, "keywords": [], "author": "AndrĂ¡s Schmelczer (https://schmelczer.dev/)",