aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Wolny <michal.wolny@versum.pl>2021-04-25 14:38:37 +0200
committerMichal Wolny <michal.wolny@versum.pl>2021-04-25 14:38:37 +0200
commitc691702c9f96960f07353a02aa4779aecdb3caec (patch)
treebd3c10f46e752f5d9a89b47559ab89aee9af6152
parentnew version fix (diff)
downloadtabler-icons-dev-node-exports.tar.xz
fix exports for node (next)dev-node-exports
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 692b7552..ffc1edaf 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,10 @@
"url": "git+https://github.com/tabler/tabler-icons.git"
},
"main": "./icons-react/dist/index.cjs.js",
- "exports": "./icons-react/dist/index.esm.js",
+ "exports": {
+ "import": "./icons-react/dist/index.esm.js",
+ "require": "./icons-react/dist/index.cjs.js"
+ },
"module": "./icons-react/dist/index.esm.js",
"unpkg": "./icons-react/dist/index.umd.js",
"umd:main": "./icons-react/dist/index.umd.js",