Skip to content

Commit 815d519

Browse files
author
Łukasz Ostrowski
committed
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
1 parent 7cf6a51 commit 815d519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function getPlugins() {
3636
"favicon.ico"
3737
],
3838
"globOptions": {
39-
"cwd": "C:\\_PROJECTS\\_PERSO\\angular-electron\\src",
39+
"cwd": process.cwd() + "/src",
4040
"dot": true,
4141
"ignore": "**/.gitkeep"
4242
}

0 commit comments

Comments
 (0)