+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:
parent
89e276d2e7
commit
f1947f91e1
|
@ -6,12 +6,12 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:clean": "rm ./public_html/js/bundle/*.js*;exit 0",
|
"build:clean": "rm ./public_html/js/bundle/*.js*; exit 0",
|
||||||
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
"build:bundle": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||||
"build:dev": "cross-env NODE_ENV=development 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",
|
"dev": "npm run build:clean; npm run build:dev",
|
||||||
"build": "npm run build:clean; npm run build:bundle",
|
"build": "npm run build:clean; npm run build:bundle; npm run build:scss"
|
||||||
"scss": "node-sass -r --output-style ./public_html/scss --output ./public_html/css ./public_html/scss"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^2.5.9"
|
"vue": "^2.5.9"
|
||||||
|
|
Loading…
Reference in New Issue