aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorMichaƂ Wolny <FreexD@users.noreply.github.com>2021-05-02 12:17:21 +0200
committerGitHub <noreply@github.com>2021-05-02 12:17:21 +0200
commit908e2ae84915d6c9974bed58cee9e60366b6abfe (patch)
tree1303663aa7c9f07951088fbce51de4f19f48067f /package.json
parentRelease 1.41.1 (diff)
parentfix exports for node (next) (diff)
downloadtabler-icons-908e2ae84915d6c9974bed58cee9e60366b6abfe.tar.xz
Merge pull request #131 from tabler/dev-node-exports
Fix exports for node (next)
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",