-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
This may be a playwright issue, but I discovered that running npx playwright test would get this error if it did not have a default exports:
Error: No "exports" main defined in /.../package.json
Adding 1 line fixed it, so I'm wondering if this should be the default (heh :D):
"exports": {
".": {
+ "default": "./dist/index.js",
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"scripts": {
"build": "zshy",
"lint": "tsc --noEmit"
}
}I know I can auto-generation of exports and do it myself, but I'm wondering if this should be default behavior.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels