aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 58d62ce5..c8781493 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",