Fix baseUrl passed to Snowpack (#391)
This commit is contained in:
parent
61b5590b95
commit
fb02a482c3
1 changed files with 1 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue