From 10bb01841765db5e201a41d6f80cf1f6327e4c65 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 Aug 2022 21:27:44 +0100 Subject: [PATCH] Embed scss source into sourcemap --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 68aa8ea..9c37477 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build:js": "esbuild static/src/js/*.js --bundle --outdir=static/build/js --minify --sourcemap", - "build:css": "sass --style=compressed --load-path=$PWD/node_modules static/src/scss:static/build/css", + "build:css": "sass --style=compressed --embed-sources --load-path=$PWD/node_modules static/src/scss:static/build/css", "build:contrib": "./scripts/copy-npm-contrib.sh", "build": "npm-run-all build:*", "lint:eslint": "eslint --ext js --report-unused-disable-directives .",