Fix css minifying (#671)

* Remove source maps from outputted CSS

* 🔖 Version 7.0.6
This commit is contained in:
Josh Johnson 2019-10-22 07:02:48 +01:00 committed by GitHub
parent 2fca709814
commit 4de6e677d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

3
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "choices.js",
"version": "7.0.5",
"version": "7.0.6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -10693,7 +10693,6 @@
"dev": true,
"requires": {
"graceful-fs": "^4.1.2",
"jsonfile": "^4.0.0",
"universalify": "^0.1.0"
}
},

View file

@ -1,6 +1,6 @@
{
"name": "choices.js",
"version": "7.0.5",
"version": "7.0.6",
"description": "A vanilla JS customisable text input/select box plugin",
"main": "./public/assets/scripts/choices.min.js",
"types": "./types/index.d.ts",
@ -21,7 +21,7 @@
"css:watch": "nodemon -e scss -x \"npm run css:build\"",
"css:build": "run-p css:sass css:prefix css:min",
"css:sass": "node-sass --output-style expanded --include-path scss src/styles/base.scss public/assets/styles/base.css && node-sass --output-style expanded --include-path scss src/styles/choices.scss public/assets/styles/choices.css",
"css:prefix": "postcss public/assets/styles/*.css --use autoprefixer --env prod --dir public/assets/styles",
"css:prefix": "postcss public/assets/styles/*.css --use autoprefixer --no-map --env prod --dir public/assets/styles",
"css:min": "csso public/assets/styles/base.css public/assets/styles/base.min.css && csso public/assets/styles/choices.css public/assets/styles/choices.min.css",
"deploy": "git subtree push --prefix public origin gh-pages",
"prepush": "run-p lint test:unit && npm run bundlesize",