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: add enable option to DevServer for disabling the plugin instead of passing undefined #4

Merged
merged 2 commits into from
Mar 19, 2021

Conversation

zamotany
Copy link
Contributor

Summary

Add new option enable to DevServerPlugin to allow conditionally disable development server instead of passing undefined to new DevServerPlugin(...) call.

Test plan

  1. Create production bundle.
  2. No DevServerPlugin change should be present inside the bundle (e.g. __webpack_require__.p - public path should be '')

@zamotany zamotany changed the title fix: add option to disable DevServer instead of undefined as config fix: add enable option to DevServer for disabling the plugin instead of passing undefined Mar 19, 2021
@zamotany zamotany merged commit 05fc9ab into main Mar 19, 2021
@zamotany zamotany deleted the fix/dev-server-plugin-enabling branch March 19, 2021 14:00
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.

1 participant