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
### Config
I have `base` set to `"./"` in my config file. With this, I expect ``s, ` Githubissues.
Githubissues is a development platform for aggregating issues.
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 inastro.config.mjs
is not allowing for such a value, which is causing issues with asset/stylesheet referencing.Config