fix: update package.json to correct main entry point and improve type definitions
All checks were successful
Publish to npm / publish (push) Successful in 26s
All checks were successful
Publish to npm / publish (push) Successful in 26s
This commit is contained in:
parent
dcdf8ccdbe
commit
70bb0b14af
|
@ -32,13 +32,14 @@
|
|||
"vite-plugin-dts": "^4.5.0"
|
||||
},
|
||||
"exports": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.es.js",
|
||||
"require": "./dist/index.cjs.js",
|
||||
"default": "./dist/index.es.js"
|
||||
},
|
||||
"main": "dist/index.umd.js",
|
||||
"main": "dist/index.cjs.js",
|
||||
"module": "dist/index.es.js",
|
||||
"types": "dist/src/index.d.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user