diff options
author | 2021-07-20 04:40:06 +0000 | |
---|---|---|
committer | 2021-07-20 04:40:06 +0000 | |
commit | 4e6d38aa76682229cf43d696a190de8f2b6c4249 (patch) | |
tree | 335d8607b33b3abcc9a6f908219e840809c26d26 | |
parent | 0e761b9bdf7606693298956b021886a3470f0cc2 (diff) | |
download | astro-4e6d38aa76682229cf43d696a190de8f2b6c4249.tar.gz astro-4e6d38aa76682229cf43d696a190de8f2b6c4249.tar.zst astro-4e6d38aa76682229cf43d696a190de8f2b6c4249.zip |
[ci] yarn format
Diffstat (limited to '')
-rw-r--r-- | packages/astro/src/compiler/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/compiler/index.ts b/packages/astro/src/compiler/index.ts index 215a80aca..92777f82d 100644 --- a/packages/astro/src/compiler/index.ts +++ b/packages/astro/src/compiler/index.ts @@ -107,7 +107,7 @@ interface CompileComponentOptions { /** Compiles an Astro component */ export async function compileComponent(source: string, { compileOptions, filename, projectRoot }: CompileComponentOptions): Promise<CompileResult> { const result = await transformFromSource(source, { compileOptions, filename, projectRoot }); - const { hostname, port } = compileOptions.astroConfig.devOptions + const { hostname, port } = compileOptions.astroConfig.devOptions; const site = compileOptions.astroConfig.buildOptions.site || `http://${hostname}:${port}`; // return template |