Merge pull request #30 from hokey/fix-sass-package-script-reference

Update the script to build the css and minimize it to work with the files checked in
This commit is contained in:
Matt Walsh 2023-09-04 20:32:20 -05:00 committed by GitHub
commit cff7dc5b00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:css": "sass ./server/styles/scss/style.scss ./server/styles/compiled.css",
"build:css": "sass --style=compressed ./server/styles/scss/main.scss ./server/styles/main.css",
"lint": "eslint ./server/scripts/**/*.mjs",
"lint:fix": "eslint --fix ./server/scripts/**/*.mjs"
},