diff --git a/package.json b/package.json index 692b75526..ffc1edafc 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",