diff --git a/packages/astro/src/runtime.ts b/packages/astro/src/runtime.ts index 6ad261272..4f3e4c6ce 100644 --- a/packages/astro/src/runtime.ts +++ b/packages/astro/src/runtime.ts @@ -406,7 +406,7 @@ async function createSnowpack(astroConfig: AstroConfig, options: CreateSnowpackO tailwindConfig: astroConfig.devOptions.tailwindConfig, }, buildOptions: { - baseUrl: astroConfig.buildOptions.site, + baseUrl: astroConfig.buildOptions.site || '/', // note: Snowpack needs this fallback out: astroConfig.dist, }, packageOptions: {