From c691702c9f96960f07353a02aa4779aecdb3caec Mon Sep 17 00:00:00 2001 From: Michal Wolny Date: Sun, 25 Apr 2021 14:38:37 +0200 Subject: fix exports for node (next) --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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", -- cgit v1.2.1