Releases: shunnNet/nuxt-msw
Releases · shunnNet/nuxt-msw
v1.0.2
🩹 Fixes
- Lost type infos when
msw.enable: false
(#2) (e2bc95b)- In previous versions, when
enable: false
, the auto imports provided bynuxt-msw
would lose type information. This could hinder type checking and potentially cause unnecessary confusion for developers. Therefore, in this update, the auto imports will be retained even whenenable: false
to avoid these issues.
- In previous versions, when
🏡 Chore
- Move
ofetch
andunimport
to dev deps (0eab2b8)
❤️ Contributors
v1.0.1
v1.0.0
📢 Breaking Change
v1.0.0
🚀 Enhancements
- Support nuxt layer feature
- Separate the server and worker into two files to better utilize the different environments.
- Support
nuxt/test-utils
- No longer provide specific version of sw file to prevent compatiblity issue.
🏡 Chore
- Add
msw
2.x as peerDependencies
v0.2.0
v0.2.0 Configuration enhancement
🚀 Changes & Enhancements
defineNuxtMswOption
accept function (b61752f)- Option
handlers
not accept function as value any more.
- Option