Skip to content

Mock Service Worker

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • msw

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"msw": {
"config": [
"package.json"
],
"entry": [
"mockServiceWorker.js"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details.

ISC License © 2024 Lars Kappert