Skip to content

Commit

Permalink
fix(ssr): use correct import alias for generateMarkup symbol in lwc-c…
Browse files Browse the repository at this point in the history
…omponent (#4975)
  • Loading branch information
cardoso authored Dec 2, 2024
1 parent b9cf2bf commit 85b854e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export const expectedFailures = new Set([
'attribute-namespace/index.js',
'attribute-style/basic/index.js',
'attribute-style/dynamic/index.js',
'dynamic-components/mixed/index.js',
'dynamic-slots/index.js',
'exports/component-as-default/index.js',
'if-conditional-slot-content/index.js',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const bYieldFromDynamicComponentConstructorGenerator = esTemplateWithYield`
const scopeToken = hasScopedStylesheets ? stylesheetScopeToken : undefined;
yield* Ctor[SYMBOL__GENERATE_MARKUP](
yield* Ctor[__SYMBOL__GENERATE_MARKUP](
null,
childProps,
childAttrs,
Expand All @@ -56,7 +56,7 @@ export const LwcComponent: Transformer<IrLwcComponent> = function LwcComponent(n
cxt.import({
getReadOnlyProxy: '__getReadOnlyProxy',
LightningElement: undefined,
SYMBOL__GENERATE_MARKUP: undefined,
SYMBOL__GENERATE_MARKUP: '__SYMBOL__GENERATE_MARKUP',
});

return bYieldFromDynamicComponentConstructorGenerator(
Expand Down

0 comments on commit 85b854e

Please sign in to comment.