Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing webpack devServer config to be extended. #49

Merged

Conversation

joeldenning
Copy link
Contributor

First off, I've really been enjoying using this project, thanks for your work on it!

This PR makes it so that webpack dev server configuration inside of the extra webpack config is actually used when you run ng serve. The @angular-devkit/angular-builder package actually overwrites the devServer portion of the webpack config to use their defaults.

So to be able to overwrite the defaults, ngx-build-plus needs to implement its own version of _buildServerConfig, which is what I've done in this PR.

@manfredsteyer manfredsteyer merged commit d0759c2 into manfredsteyer:master Dec 30, 2018
@manfredsteyer
Copy link
Owner

thx

manfredsteyer added a commit that referenced this pull request Dec 30, 2018
@klerick
Copy link

klerick commented Jan 24, 2019

where is this changes in master? O_o

@joeldenning joeldenning deleted the extra-dev-server-config branch January 27, 2019 00:03
@joeldenning
Copy link
Contributor Author

Looks like this commit reverted my change - 386c319#diff-bb78a211f717f9ff374be3a684ce86d3

@manfredsteyer can you comment on why this was removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants