Linaria crashes when used with MSW 2.x
with an error Package subpath './browser' is not defined by "exports"
#1381
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
bundler: webpack 📦
Issue is related to webpack bundler
needs: complete repro 🖥️
Issue need to have complete repro provided
Environment
@linaria/[email protected]
2.0.6
[email protected]
21.1.0
Description
Linaria when use with MSW crashed with this error with the minimal reproducible demo below:
Reproducible Demo
https://github.com/amanmahajan7/msw-bug
npm ci
npm run build
exports
is defined inpackage.json
https://github.com/mswjs/msw/blob/main/package.json#L16
The text was updated successfully, but these errors were encountered: