summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/codegen.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen.ts b/src/compiler/codegen.ts
index add38baad..70620111d 100644
--- a/src/compiler/codegen.ts
+++ b/src/compiler/codegen.ts
@@ -354,7 +354,7 @@ export async function codegen(ast: Ast, { compileOptions, filename }: CodeGenOpt
if (!components[componentName]) {
throw new Error(`Unknown Component: ${componentName}`);
}
- const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], {astroConfig, dynamicImports, filename});
+ const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], { astroConfig, dynamicImports, filename });
if (wrapperImport) {
importExportStatements.add(wrapperImport);
}
@@ -406,7 +406,7 @@ export async function codegen(ast: Ast, { compileOptions, filename }: CodeGenOpt
if (!componentImportData) {
throw new Error(`Unknown Component: ${componentName}`);
}
- const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], {astroConfig, dynamicImports, filename});
+ const { wrapper, wrapperImport } = getComponentWrapper(name, components[componentName], { astroConfig, dynamicImports, filename });
if (wrapperImport) {
importExportStatements.add(wrapperImport);
}