+moved public_html/scss to webpack/scss (now scss files not publicly accessible by browsers) + npm run build also builds css

This commit is contained in:
xdrm-brackets 2018-02-20 13:04:26 +01:00
parent 89e276d2e7
commit f1947f91e1
6 changed files with 3 additions and 3 deletions

View File

@ -9,9 +9,9 @@
"build:clean": "rm ./public_html/js/bundle/*.js*; exit 0",
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
"build:dev": "cross-env NODE_ENV=development webpack --progress --hide-modules",
"build:scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss",
"dev": "npm run build:clean; npm run build:dev",
"build": "npm run build:clean; npm run build:bundle",
"scss": "node-sass -r --output-style ./public_html/scss --output ./public_html/css ./public_html/scss"
"build": "npm run build:clean; npm run build:bundle; npm run build:scss"
},
"dependencies": {
"vue": "^2.5.9"