Quoting globstars
Problem I ran into: `npm run build` only created the build/public/assets/css/app.css file, nothing else was copied. No Error showed up in Terminal. Solution: After reading the `copyfiles`-module readme I discovered you may have to put the path in quotation marks. Doing so fixed it and copied the whole public folders like its supposed to.
This commit is contained in:
parent
87745300ac
commit
8c7c808e16
|
@ -14,7 +14,7 @@
|
||||||
"webpack-watch": "set NODE_ENV=0&& webpack --progress --color --watch --hot",
|
"webpack-watch": "set NODE_ENV=0&& webpack --progress --color --watch --hot",
|
||||||
"dev:sass": "node-sass -w -r src/css/ -o src/public/assets/css/",
|
"dev:sass": "node-sass -w -r src/css/ -o src/public/assets/css/",
|
||||||
"dev:js": "set NODE_ENV=0&& webpack",
|
"dev:js": "set NODE_ENV=0&& webpack",
|
||||||
"build:dir": "copyfiles -u 1 src/public/**/* build/",
|
"build:dir": "copyfiles -u 1 'src/public/**/*' build/",
|
||||||
"build:sass": "node-sass --output-style compressed src/css/ -o build/public/assets/css/",
|
"build:sass": "node-sass --output-style compressed src/css/ -o build/public/assets/css/",
|
||||||
"build:js": "set NODE_ENV=1&& webpack --progress --color"
|
"build:js": "set NODE_ENV=1&& webpack --progress --color"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue