2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 14:50:56 +00:00

chore: add exports to svelte component

This commit is contained in:
Vjacheslav Trushkin 2023-12-16 11:55:12 +02:00
parent d037f7ae13
commit e38f248bce

View File

@ -2,7 +2,7 @@
"name": "@iconify/svelte", "name": "@iconify/svelte",
"description": "Iconify icon component for Svelte.", "description": "Iconify icon component for Svelte.",
"author": "Vjacheslav Trushkin", "author": "Vjacheslav Trushkin",
"version": "3.1.4", "version": "3.1.5",
"license": "MIT", "license": "MIT",
"bugs": "https://github.com/iconify/iconify/issues", "bugs": "https://github.com/iconify/iconify/issues",
"homepage": "https://github.com/iconify/iconify", "homepage": "https://github.com/iconify/iconify",
@ -16,6 +16,11 @@
"module": "dist/index.mjs", "module": "dist/index.mjs",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": {
".": {
"svelte": "./dist/index.js"
}
},
"scripts": { "scripts": {
"cleanup": "rimraf lib dist", "cleanup": "rimraf lib dist",
"prebuild": "pnpm run cleanup", "prebuild": "pnpm run cleanup",