Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react)!: disable includeImportCustomElements to resolve initial render issues #8248

Merged
merged 2 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/calcite-components-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
"license": "SEE LICENSE.md",
"scripts": {
"build": "rimraf dist && npm run compile",
"prebuild": "npm run patch:ssr && npm run patch:jsx-import",
"prebuild": "npm run patch:jsx-import",
"clean": "rimraf dist node_modules .turbo",
"compile": "npm run tsc",
"patch:jsx-import": "ts-node support/patchJSXImport.ts",
"patch:ssr": "ts-node support/patchSSR.ts",
"tsc": "tsc"
},
"main": "./dist/index.js",
Expand Down
65 changes: 0 additions & 65 deletions packages/calcite-components-react/support/patchSSR.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/calcite-components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export const create: () => Config = () => ({
proxiesFile: "../calcite-components-react/src/components.ts",
excludeComponents: ["context-consumer"],
customElementsDir: "dist/components",
includeImportCustomElements: true,
}),
{ type: "dist-hydrate-script" },
{ type: "dist-custom-elements", customElementsExportBehavior: "auto-define-custom-elements" },
Expand Down
Loading