Skip to content

Commit 17903a6

Browse files
author
Trygve Lie
committed
fix: Export ESM module
1 parent 4be4a1b commit 17903a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@
1818
},
1919
"license": "Apache-2.0",
2020
"author": "Justin Poehnelt",
21+
"type": "module",
22+
"exports": {
23+
"import": "./dist/index.esm.js",
24+
"require": "./dist/index.umd.js"
25+
},
2126
"main": "dist/index.umd.js",
2227
"unpkg": "dist/index.min.js",
2328
"module": "dist/index.esm.js",

0 commit comments

Comments
 (0)