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

feat: exclude html pwa plugin in webpack dev server #16388

Merged
merged 3 commits into from
May 10, 2021

Conversation

lmiller1990
Copy link
Contributor

User facing changelog

Remove HtmlPwaPlugin from webpack in dev server.

Additional details

This plugin depends on html-webpack-plugin@3 which is two minor versions behind - something we do not support at the present time. Until we find a better long term solution, it's a better DX to just remove it so users do not need to manually exclude it. As noted in the README this plugin uses a service worker which is only enabled in production anyway.

How has the user experience changed?

PR Tasks

  • Have tests been added/updated?
  • Has the original issue or this PR been tagged with a release in ZenHub?
  • Has a PR for user-facing changes been opened in cypress-documentation?
  • Have API changes been updated in the type definitions?
  • Have new configuration options been added to the cypress.schema.json?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 7, 2021

Thanks for taking the time to open a PR!

@lmiller1990 lmiller1990 added component testing npm: @cypress/webpack-dev-server @cypress/webpack-dev-server package issues labels May 7, 2021
@cypress
Copy link

cypress bot commented May 7, 2021



Test summary

4502 0 56 2Flakiness 0


Run details

Project cypress
Status Passed
Commit 3d89bb7
Started May 10, 2021 2:24 AM
Ended May 10, 2021 2:35 AM
Duration 10:54 💡
OS Linux Debian - 10.8
Browser Electron 89

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@lmiller1990 lmiller1990 merged commit 14c2292 into develop May 10, 2021
tgriesser added a commit that referenced this pull request May 10, 2021
* develop:
  remove unused deps from webpack-preprocessor (#16384)
  feat: exclude html pwa plugin in webpack dev server (#16388)
  fix(ui): display duplicate aliases in command log (#16382)
  fix(ui): show req stub/fn when a handler is supplied (#16383)
  feat(component-testing): Expose CT through CLI module API (#16368)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
npm: @cypress/webpack-dev-server @cypress/webpack-dev-server package issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[7.1.0] Vue Component testing - not working when trying to use with PWA plugin
2 participants