Skip to content

Commit 6747e0b

Browse files
committed
Add .npmignore to stop excluding types
1 parent b184026 commit 6747e0b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.npmignore

Whitespace-only changes.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@
1111
"vite",
1212
"vite-plugin"
1313
],
14+
"type": "module",
15+
"main": "./dist/index.js",
16+
"module": "./dist/index.js",
17+
"types": "./dist/index.d.ts",
1418
"exports": {
1519
".": {
1620
"import": "./dist/index.js",
1721
"types": "./dist/index.d.ts"
1822
}
1923
},
20-
"module": "./dist/index.js",
21-
"type": "module",
22-
"types": "./dist/index.d.ts",
2324
"scripts": {
2425
"build": "tsc"
2526
},

0 commit comments

Comments
 (0)