diff options
author | Paweł Kuna <1282324+codecalm@users.noreply.github.com> | 2022-06-26 11:36:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 11:36:56 +0200 |
commit | 83997c5d7c52a34a96356a2967d691f49dd59628 (patch) | |
tree | e7d3ea3c23f1b79716059f12adf981e2f4697beb | |
parent | Rename _tags.html to tags.html (diff) | |
parent | package.json: export .svg and .png assets (diff) | |
download | tabler-icons-83997c5d7c52a34a96356a2967d691f49dd59628.tar.xz |
Merge pull request #243 from alexgleason/asset-exports
package.json: export .svg and .png assets
-rw-r--r-- | package.json | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json index c8a1071e..4c9a57dc 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,11 @@ }, "main": "./icons-react/dist/index.cjs.js", "exports": { - "import": "./icons-react/dist/index.esm.js", - "require": "./icons-react/dist/index.cjs.js" + ".": { + "import": "./icons-react/dist/index.esm.js", + "require": "./icons-react/dist/index.cjs.js" + }, + "./*": ["./icons/*", "./icons-png/*"] }, "module": "./icons-react/dist/index.esm.js", "unpkg": "./icons-react/dist/index.umd.js", |