Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04cd4cc

Browse files
committed
chore: add subpath exports and set type: module
1 parent 59813cf commit 04cd4cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
"homepage": "https://image.nuxt.com",
1010
"license": "MIT",
1111
"sideEffects": false,
12+
"type": "module",
13+
"exports": {
14+
".": {
15+
"types": "./dist/module.d.ts",
16+
"import": "./dist/module.mjs",
17+
"require": "./dist/module.cjs"
18+
}
19+
},
1220
"main": "./dist/module.mjs",
1321
"types": "./dist/module.d.ts",
1422
"files": [

0 commit comments

Comments
 (0)