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

Example: Treat "mockServiceWorker" as a generated artifact in "with-msw" #25515

Merged
merged 1 commit into from May 27, 2021

Conversation

kettanaito
Copy link
Contributor

@kettanaito kettanaito commented May 27, 2021

Changes

  • Removes mockServiceWorker.js file and ignores it from Git. New versions of msw generate the worker script automatically at the location specified in packageJson.msw.workerDirectory. This keeps the worker script up-to-date with the currently installed version of msw.
  • Updates msw package to the latest version for new features and stability improvements.

Documentation / Examples

  • Make sure the linting passes

@ijjk ijjk added the examples Issue/PR related to examples label May 27, 2021
@kettanaito kettanaito changed the title Treat "mockServiceWorker" as a generated artifact in "with-msw" Example: Treat "mockServiceWorker" as a generated artifact in "with-msw" May 27, 2021
@kodiakhq kodiakhq bot merged commit 9b75b9b into vercel:canary May 27, 2021
@kettanaito kettanaito deleted the examples/msw-improvements branch May 28, 2021 00:17
flybayer pushed a commit to blitz-js/next.js that referenced this pull request Jun 16, 2021
…sw" (vercel#25515)

## Changes

- Removes `mockServiceWorker.js` file and ignores it from Git. New versions of `msw` generate the worker script automatically at the location specified in `packageJson.msw.workerDirectory`. This keeps the worker script up-to-date with the currently installed version of `msw`.
- Updates `msw` package to the latest version for new features and stability improvements.

## Documentation / Examples

- [ ] Make sure the linting passes
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants