Improve cross-platform support
Signed-off-by: James Zuccon <zuccon@gmail.com>
This commit is contained in:
@@ -7,13 +7,15 @@
|
||||
"module": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"exports": {
|
||||
"browser": {
|
||||
"types": "./dist/index.browser.d.ts",
|
||||
"default": "./dist/index.browser.js"
|
||||
},
|
||||
"node": {
|
||||
"types": "./dist/index.node.d.ts",
|
||||
"default": "./dist/index.node.js"
|
||||
".": {
|
||||
"browser": {
|
||||
"types": "./dist/index.browser.d.ts",
|
||||
"default": "./dist/index.browser.js"
|
||||
},
|
||||
"node": {
|
||||
"types": "./dist/index.node.d.ts",
|
||||
"default": "./dist/index.node.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"files": [
|
||||
|
||||
Reference in New Issue
Block a user