[ci] format
This commit is contained in:
parent
f70207082a
commit
7d29feace1
2 changed files with 3 additions and 3 deletions
|
@ -169,7 +169,7 @@ async function clientBuild(opts: StaticBuildOptions, internals: BuildInternals,
|
|||
}
|
||||
|
||||
// TODO: use vite.mergeConfig() here?
|
||||
info(opts.logging, null, `\n${bgGreen(black(' building client '))}`);
|
||||
info(opts.logging, null, `\n${bgGreen(black(' building client '))}`);
|
||||
|
||||
const out = isBuildingToSSR(astroConfig) ? opts.buildConfig.client : astroConfig.dist;
|
||||
|
||||
|
|
|
@ -43,10 +43,10 @@ export function padMultilineString(source: string, n = 2) {
|
|||
|
||||
const STATUS_CODE_REGEXP = /^\/?[0-9]{3}$/;
|
||||
|
||||
/**
|
||||
/**
|
||||
* Get the correct output filename for a route, based on your config.
|
||||
* Handles both "/foo" and "foo" `name` formats.
|
||||
* Handles `/404` and `/` correctly.
|
||||
* Handles `/404` and `/` correctly.
|
||||
*/
|
||||
export function getOutputFilename(astroConfig: AstroConfig, name: string) {
|
||||
if (name === '/' || name === '') {
|
||||
|
|
Loading…
Reference in a new issue