Skip to content

Commit

Permalink
fix(exports): use default as esm export to support new bundlers and j…
Browse files Browse the repository at this point in the history
…spm.dev
  • Loading branch information
sastan committed Jun 23, 2020
1 parent 4320e26 commit 84f43db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/esm/fragment.js",
"require": "./dist/cjs/fragment.js",
"umd": "./dist/umd/fragment.js"
"umd": "./dist/umd/fragment.js",
"default": "./dist/esm/fragment.js"
},
"./src/fragment.svelte": {
"default": "./src/fragment.svelte"
}
},
"module": "./dist/esm/fragment.js",
"unpkg": "./dist/umd/fragment.js",
"svelte": "src/fragment.svelte",
"svelte": "./src/fragment.svelte",
"sideEffects": false,
"files": [
"dist",
Expand Down

0 comments on commit 84f43db

Please sign in to comment.