1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2025-01-05 01:20:39 +02:00

Fix tree shaking when importing root entrypoint (#8332)

This commit is contained in:
Álvaro Mondéjar 2023-02-10 01:49:48 +01:00 committed by GitHub
parent 64be4fa10b
commit 0befae66c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,12 @@
"main": "index.js", "main": "index.js",
"types": "index.d.ts", "types": "index.d.ts",
"exports": { "exports": {
".": "./index.js", ".": {
"module": "./index.mjs",
"import": "./index.mjs",
"require": "./index.js",
"default": "./index.js"
},
"./icons": { "./icons": {
"module": "./index.mjs", "module": "./index.mjs",
"import": "./index.mjs", "import": "./index.mjs",