Config's `base` option producing unexpected asset paths
What version of astro are you using?
1.0.1
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Linux (Fedora 36)
Describe the Bug
At my company, we create websites for clients, and need to be able to host websites at paths which may change. By referencing assets via ./, this makes the website path agnostic, and doesn't require a rebuild should the path change.
Unfortunately, the base option in astro.config.mjs is not allowing for such a value, which is causing issues with asset/stylesheet referencing.
Config
ConfigI have |
|
Results
StylesheetThe stylesheet is referenced by However, setting |
|
AssetsWhether in an Astro component, or a Vue component, my assets are referenced via Is the |
|
Link to Minimal Reproducible Example
https://github.com/ebxn/astro-repro
Participation
- [ ] I am willing to submit a pull request for this issue.