From 06fa0610c4053765cebf2b04016de08f61a5c3c9 Mon Sep 17 00:00:00 2001 From: franklygeorge <54015-franklygeorge@users.noreply.gitgud.io> Date: Wed, 7 Feb 2024 16:35:59 -0500 Subject: [PATCH] 'fixed' source maps. See: https://gitgud.io/pregmodfan/fc-pregmod/-/merge_requests/11674#note_373154 --- gulpfile.js | 4 ++-- package.json | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5141a260448..f929437c96d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -60,8 +60,8 @@ const args = yargs(hideBin(process.argv)) }) .options('sourcemapsincludecontent', { type: 'boolean', - description: 'Add original js and css code to the source maps', - default: true, + description: 'Add original js and css code to the source maps. Loses file names and paths!', + default: false, }) .options('debug', { type: 'boolean', diff --git a/package.json b/package.json index dbb6f2df718..5dd7f88b2b9 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "compile": "sh compile.sh", "build": "npx gulp all", "build:debug": "npx gulp all --debug", - "build:release": "npx gulp all --minify --release" + "build:release": "npx gulp all --minify --release", + "serve": "npx http-server --port 6969 -c-1" }, "license": "GPL-3.0-only", "devDependencies": { @@ -24,6 +25,7 @@ "eslint": "^8.0.0", "eslint-plugin-jsdoc": "^46.0.0", "eslint-plugin-sonarjs": "^0.23.0", + "http-server": "^14.1.1", "ts-essentials": "^9.1.1", "typescript": "^4.4.0" }, -- GitLab