We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226f083 commit 7922f26Copy full SHA for 7922f26
package.json
@@ -6,6 +6,10 @@
6
"module": "dist/esm/index.js",
7
"source": "src/index.js",
8
"sideEffects": false,
9
+ "type": "module",
10
+ "exports": {
11
+ "default": "./dist/esm/index.js"
12
+ },
13
"scripts": {
14
"build": "yarn build-esm && yarn build-umd",
15
"build-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore **/*.spec.js",
0 commit comments