Skip to content

Commit

Permalink
feat(react): auto-import and register custom elements
Browse files Browse the repository at this point in the history
  • Loading branch information
benelan committed Jun 5, 2023
1 parent b01163c commit 117be94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/calcite-components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ export const create: () => Config = () => ({
reactOutputTarget({
componentCorePackage: "@esri/calcite-components",
proxiesFile: "../calcite-components-react/src/components.ts",
excludeComponents: ["context-consumer"]
excludeComponents: ["context-consumer"],
includeImportCustomElements: true
}),
{ type: "dist-hydrate-script" },
{ type: "dist-custom-elements", autoDefineCustomElements: true },
Expand Down

0 comments on commit 117be94

Please sign in to comment.