Embed scss source into sourcemap

This commit is contained in:
Jake Howard 2022-08-03 21:27:44 +01:00
parent e5392fa95d
commit 10bb018417
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build:js": "esbuild static/src/js/*.js --bundle --outdir=static/build/js --minify --sourcemap", "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:contrib": "./scripts/copy-npm-contrib.sh",
"build": "npm-run-all build:*", "build": "npm-run-all build:*",
"lint:eslint": "eslint --ext js --report-unused-disable-directives .", "lint:eslint": "eslint --ext js --report-unused-disable-directives .",