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:
weiserhei 2018-05-07 17:57:17 +02:00 committed by GitHub
parent 87745300ac
commit 8c7c808e16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
"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: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:js": "set NODE_ENV=1&& webpack --progress --color"
},