Skip to content

Commit ee82c3e

Browse files
authored
fix(types): add exports in package.json (#527)
1 parent 2f2b777 commit ee82c3e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@
99
},
1010
"license": "Apache-2.0",
1111
"type": "module",
12+
"exports": {
13+
".": {
14+
"types": "./dist/types.d.ts",
15+
"import": "./dist/module.mjs",
16+
"require": "./dist/module.cjs"
17+
}
18+
},
1219
"main": "./dist/module.cjs",
13-
"module": "./dist/module.mjs",
1420
"types": "./dist/types.d.ts",
1521
"homepage": "https://hub.nuxt.com",
1622
"files": [

0 commit comments

Comments
 (0)