summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/build/static-build.ts2
-rw-r--r--packages/astro/src/core/util.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts
index 8e1559e97..b166948f1 100644
--- a/packages/astro/src/core/build/static-build.ts
+++ b/packages/astro/src/core/build/static-build.ts
@@ -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;
diff --git a/packages/astro/src/core/util.ts b/packages/astro/src/core/util.ts
index 373d6cff1..ca98419da 100644
--- a/packages/astro/src/core/util.ts
+++ b/packages/astro/src/core/util.ts
@@ -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 === '') {