Pass Astro site
to snowpack baseUrl
(#384)
This commit is contained in:
parent
6eacdbae42
commit
61b5590b95
2 changed files with 6 additions and 0 deletions
5
.changeset/stale-cameras-teach.md
Normal file
5
.changeset/stale-cameras-teach.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Pass "site" config to Snowpack as "baseUrl"
|
|
@ -406,6 +406,7 @@ async function createSnowpack(astroConfig: AstroConfig, options: CreateSnowpackO
|
|||
tailwindConfig: astroConfig.devOptions.tailwindConfig,
|
||||
},
|
||||
buildOptions: {
|
||||
baseUrl: astroConfig.buildOptions.site,
|
||||
out: astroConfig.dist,
|
||||
},
|
||||
packageOptions: {
|
||||
|
|
Loading…
Reference in a new issue