From 0e51cf1595a32caed4ec208b51dd6c620bb3d437 Mon Sep 17 00:00:00 2001 From: Sean Perkins <13732623+sean-perkins@users.noreply.github.com> Date: Wed, 2 Jul 2025 15:08:02 -0400 Subject: [PATCH] fix: stencil projects can build ionicons (#1462) --- package.json | 2 ++ stencil.config.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fae01dc5..c3d27dcf 100755 --- a/package.json +++ b/package.json @@ -12,6 +12,8 @@ "types": "dist/types/index.d.ts", "unpkg": "dist/ionicons/ionicons.esm.js", "jsdelivr": "dist/ionicons/ionicons.esm.js", + "collection": "dist/collection/collection-manifest.json", + "collection:main": "dist/collection/index.js", "exports": { ".": { "types": "./dist/types/index.d.ts", diff --git a/stencil.config.ts b/stencil.config.ts index 03c07a8a..224af3b3 100755 --- a/stencil.config.ts +++ b/stencil.config.ts @@ -6,7 +6,7 @@ export const config: Config = { outputTargets: [ { type: 'dist', - collectionDir: null, + collectionDir: './collection', empty: false, }, {