[ci] yarn format
This commit is contained in:
parent
0e761b9bdf
commit
4e6d38aa76
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ interface CompileComponentOptions {
|
||||||
/** Compiles an Astro component */
|
/** Compiles an Astro component */
|
||||||
export async function compileComponent(source: string, { compileOptions, filename, projectRoot }: CompileComponentOptions): Promise<CompileResult> {
|
export async function compileComponent(source: string, { compileOptions, filename, projectRoot }: CompileComponentOptions): Promise<CompileResult> {
|
||||||
const result = await transformFromSource(source, { compileOptions, filename, projectRoot });
|
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}`;
|
const site = compileOptions.astroConfig.buildOptions.site || `http://${hostname}:${port}`;
|
||||||
|
|
||||||
// return template
|
// return template
|
||||||
|
|
Loading…
Add table
Reference in a new issue