diff options
author | MichaĆ Wolny <FreexD@users.noreply.github.com> | 2021-05-02 12:17:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-02 12:17:21 +0200 |
commit | 908e2ae84915d6c9974bed58cee9e60366b6abfe (patch) | |
tree | 1303663aa7c9f07951088fbce51de4f19f48067f | |
parent | Release 1.41.1 (diff) | |
parent | fix exports for node (next) (diff) | |
download | tabler-icons-908e2ae84915d6c9974bed58cee9e60366b6abfe.tar.xz |
Merge pull request #131 from tabler/dev-node-exports
Fix exports for node (next)
-rw-r--r-- | package.json | 5 |
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", |