'npm run dev' now watches for scss updates | 'npm run build' only builds everything
This commit is contained in:
parent
fc39833a84
commit
85782a26e2
|
@ -9,9 +9,10 @@
|
|||
"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; npm run build:scss",
|
||||
"build": "npm run build:clean; npm run build:bundle; npm run build:scss"
|
||||
"scss": "node-sass -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
||||
"watch": "node-sass -w -r --output-style compressed --output ./public_html/css ./webpack/scss",
|
||||
"dev": "npm run build:clean; npm run build:dev; npm run watch",
|
||||
"build": "npm run build:clean; npm run build:bundle; npm run scss"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.9"
|
||||
|
|
Loading…
Reference in New Issue