From e1faecbff61512b25baf7acc77e184f42bd0b87a Mon Sep 17 00:00:00 2001 From: Max Kasperowski Date: Tue, 12 Nov 2024 16:57:56 +0100 Subject: [PATCH] set build script to production mode --- applications/klighd-cli/package.json | 2 +- applications/klighd-vscode/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/klighd-cli/package.json b/applications/klighd-cli/package.json index 96533d67..f7ef79a6 100644 --- a/applications/klighd-cli/package.json +++ b/applications/klighd-cli/package.json @@ -20,7 +20,7 @@ "clean": "rimraf lib dist bin", "lint": "eslint .", "build": "run-p --print-label \"build:*\"", - "build:app": "webpack --mode production --devtool hidden-source-map", + "build:app": "webpack --mode production", "build:server": "tsc -p ./tsconfig.server.json", "watch": "run-p --print-label \"watch:*\"", "watch:app": "webpack --watch --mode development --devtool source-map", diff --git a/applications/klighd-vscode/package.json b/applications/klighd-vscode/package.json index aaad1d10..e08bd8f1 100644 --- a/applications/klighd-vscode/package.json +++ b/applications/klighd-vscode/package.json @@ -152,7 +152,7 @@ "scripts": { "clean": "rimraf dist klighd-vscode.vsix", "lint": "eslint .", - "build": "webpack --mode production --devtool false", + "build": "webpack --mode production", "watch": "webpack --watch --mode development", "package": "vsce package --yarn --baseImagesUrl https://github.com/kieler/klighd-vscode/raw/HEAD/applications/klighd-vscode -o klighd-vscode.vsix", "predistribute": "yarn run package",