Skip to content

Commit

Permalink
Update packages/@lwc/ssr-compiler/src/compile-js/index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored Dec 16, 2024
1 parent d4b3d22 commit 171e978
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@lwc/ssr-compiler/src/compile-js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const visitors: Visitors = {
}
const loader = experimentalDynamicComponent.loader;
if (!loader) {
// if no `loader` defined, then leave dynamic `import()`s as-is
return;
}
const source = path.node!.source!;
Expand Down

0 comments on commit 171e978

Please sign in to comment.