Fixed hardcoded path in glob copy, blocking assets after eject

angular cli after eject hardcodes path, so it must be changed to relative process.cwd() + "/src",
then assets copy will work correctly
This commit is contained in:
Łukasz Ostrowski
2017-05-03 17:16:01 +02:00
parent 7cf6a51532
commit 815d519fd0

View File

@@ -36,7 +36,7 @@ function getPlugins() {
"favicon.ico" "favicon.ico"
], ],
"globOptions": { "globOptions": {
"cwd": "C:\\_PROJECTS\\_PERSO\\angular-electron\\src", "cwd": process.cwd() + "/src",
"dot": true, "dot": true,
"ignore": "**/.gitkeep" "ignore": "**/.gitkeep"
} }