Export package.json (#908)
* Export package.json * Correct exports structure to support multiple modules
This commit is contained in:
parent
ca50c22e34
commit
b7076bb24f
|
@ -7,8 +7,11 @@
|
|||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
"import": "./src/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
".": {
|
||||
"import": "./src/index.js",
|
||||
"require": "./dist/index.cjs"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"files": [
|
||||
"src",
|
||||
|
|
Loading…
Reference in New Issue