1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-01-17 12:48:26 +01:00

Update package.json (#940)

Fix warning "Missing Exports Condition"
This commit is contained in:
Aleksandr Sadovoj 2024-01-02 00:23:54 +02:00 committed by GitHub
parent ffed949675
commit ada588834a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,6 +26,14 @@
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/tabler-icons-svelte.d.ts",
"svelte": "./dist/svelte/tabler-icons-svelte.js"
},
"./dist/svelte/Icon.svelte": "./dist/svelte/Icon.svelte",
"./dist/svelte/icons/*.svelte": "./dist/svelte/icons/*.svelte"
},
"scripts": {
"build": "pnpm run clean && pnpm run copy:license && pnpm run build:icons && pnpm run build:bundles && pnpm build:strip",
"build:icons": "node build.mjs",