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 492be8c commit a515564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/esm/h.js",
"require": "./dist/cjs/h.js",
"umd": "./dist/umd/h.js"
"umd": "./dist/umd/h.js",
"default": "./dist/esm/h.js"
}
},
"module": "./dist/esm/h.js",
Expand Down

0 comments on commit a515564

Please sign in to comment.