There was an error while loading. Please reload this page.
exports
1 parent 8383056 commit 866e12bCopy full SHA for 866e12b
1 file changed
package.json
@@ -3,8 +3,14 @@
3
"name": "@msw/playwright",
4
"version": "0.6.4",
5
"description": "Mock Service Worker binding for Playwright",
6
- "main": "./build/index.js",
7
- "types": "./build/index.d.ts",
+ "main": "./build/index.mjs",
+ "types": "./build/index.d.mts",
8
+ "exports": {
9
+ ".": {
10
11
+ "default": "./build/index.mjs"
12
+ }
13
+ },
14
"scripts": {
15
"dev": "tsdown --watch",
16
"test": "playwright test",
@@ -60,4 +66,4 @@
60
66
"@mswjs/interceptors": "^0.41.3",
61
67
"outvariant": "^1.4.3"
62
68
}
63
-}
69
+}
0 commit comments