refactor (build): refactor the logic to set publicPath#4090
refactor (build): refactor the logic to set publicPath#4090changLiuUNSW wants to merge 1 commit intoangular:masterfrom
Conversation
f1733e4 to
07d9ba4
Compare
filipesilva
left a comment
There was a problem hiding this comment.
This fix also removes the functionality of using deployUrl via the config file though.
If that functionality is to be removed, then the code for it in the config needs to be removed as well.
|
@filipesilva This fix will not remove functionality of using We also have e2e test to cover the functionality of using The test passed with my change |
07d9ba4 to
b972f88
Compare
|
Ok I understand now. I'm working on a big PR to refactor how these commands work though, so I'll try to introduce this logic there as well in case this doesn't get merged before. |
|
Superseded by #4105 |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
If we set
deployUrlvia theangular-cli.json, theng servewill be affected as well because we setpublicPathviaappConfig.deployUrlin thewebpack-build-common.tsThis PR can solve above issue and also remove duplicated logic
deployUrl || appConfig.deployUrl;which already exists inbuild-webpack.ts