Skip to content

Commit 0e51cf1

Browse files
authored
fix: stencil projects can build ionicons (#1462)
1 parent a9556e4 commit 0e51cf1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"types": "dist/types/index.d.ts",
1313
"unpkg": "dist/ionicons/ionicons.esm.js",
1414
"jsdelivr": "dist/ionicons/ionicons.esm.js",
15+
"collection": "dist/collection/collection-manifest.json",
16+
"collection:main": "dist/collection/index.js",
1517
"exports": {
1618
".": {
1719
"types": "./dist/types/index.d.ts",

stencil.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const config: Config = {
66
outputTargets: [
77
{
88
type: 'dist',
9-
collectionDir: null,
9+
collectionDir: './collection',
1010
empty: false,
1111
},
1212
{

0 commit comments

Comments
 (0)