fix: typings for web package version
This commit is contained in:
13
package.json
13
package.json
@@ -5,15 +5,22 @@
|
||||
"types": "./lib/types/index.d.ts",
|
||||
"main": "./lib/cjs/index.js",
|
||||
"browser": {
|
||||
"./lib/cjs/index.js": "./bundles/web.bundle.min.js"
|
||||
"./lib/cjs/index.js": "./bundles/web.bundle.min.js",
|
||||
"types": "./lib/types/index.d.ts"
|
||||
},
|
||||
"exports": {
|
||||
"./web": "./bundles/web.bundle.min.js",
|
||||
"./web": {
|
||||
"import": "./bundles/web.bundle.min.js",
|
||||
"types": "./lib/types/index.d.ts"
|
||||
},
|
||||
"./mjs": {
|
||||
"import": "./lib/mjs/index.js",
|
||||
"types": "./lib/types/index.d.ts"
|
||||
},
|
||||
".": "./lib/cjs/index.js"
|
||||
".": {
|
||||
"import": "./lib/cjs/index.js",
|
||||
"types": "./lib/types/index.d.ts"
|
||||
}
|
||||
},
|
||||
"sideEffects": false,
|
||||
"engines": {
|
||||
|
||||
Reference in New Issue
Block a user