Skip to content

Commit

Permalink
Fixed hardcoded path in glob copy, blocking assets after eject
Browse files Browse the repository at this point in the history
angular cli after eject hardcodes path, so it must be changed to relative process.cwd() + "/src",
then assets copy will work correctly
  • Loading branch information
Łukasz Ostrowski committed May 3, 2017
1 parent 7cf6a51 commit 815d519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getPlugins() {
"favicon.ico"
],
"globOptions": {
"cwd": "C:\\_PROJECTS\\_PERSO\\angular-electron\\src",
"cwd": process.cwd() + "/src",
"dot": true,
"ignore": "**/.gitkeep"
}
Expand Down

0 comments on commit 815d519

Please sign in to comment.