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

fix: ensure devserver client options are configurable #2034

Merged

Conversation

dannobytes
Copy link
Contributor

@dannobytes dannobytes commented Sep 16, 2022

When a custom webpackConfig.devServer.client option is set, they are
currently being overridden by the baseConfig.client field.

Ensure that field is extendible by consumers while also ensuring the
base config values stay fixed.

fix #2033

When a custom `webpackConfig.devServer.client` option is set, they are
currently being overridden by the `baseConfig.client` field.

Ensure that field is extendible by consumers while also ensuring the
base config values stay fixed.

styleguidist#2033
@dannobytes
Copy link
Contributor Author

@sapegin FYI, this fix is ready for review whenever you have a moment

@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #2034 (f96c454) into master (80b5e84) will not change coverage.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
src/scripts/create-server.ts 92.30% <100.00%> (ø)

@ThomasRoest ThomasRoest merged commit f1a0c21 into styleguidist:master Oct 6, 2022
@github-actions
Copy link

github-actions bot commented Oct 6, 2022

🎉 This PR is included in version 12.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dannobytes dannobytes deleted the fix-webpack-devserver-options branch October 6, 2022 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webpack "devServer.*" options unable to be customized
2 participants