You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after astro build with base config, fail loading image from script.
image path in the script should be /(base)/assets/images/image.png but it's /assets/images/image.png. base config is ignored.
What version of
astro
are you using?1.0.7
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Windows 10
Describe the Bug
after
astro build
withbase
config, fail loading image from script.image path in the script should be
/(base)/assets/images/image.png
but it's/assets/images/image.png
.base
config is ignored.in this PR,
base: astroConfig.base,
was deleted, but this is NOT fromviteConfig
, so this line is neededhttps://github.com/withastro/astro/pull/4344/files
Link to Minimal Reproducible Example
https://github.com/kagankan/astro-sample/tree/sample/base-config-bug
Participation
The text was updated successfully, but these errors were encountered: