As a developer, I would like to designate the path through which all asset requests go. For example, if I deploy the app to an unknown subfolder, I'd like to add "homepage": "./", thus making all asset paths relative to the current path: "./asset/resource-name.css".
Suggested solution
The entry to the initial assets is written into the index.html file. My rough assumption is we could prepend the homepage string to those asset paths. I'm sure this is not the whole story, since there are cascading requests to get more assets.
Description
As a developer, I would like to designate the path through which all asset requests go. For example, if I deploy the app to an unknown subfolder, I'd like to add
"homepage": "./"
, thus making all asset paths relative to the current path:"./asset/resource-name.css"
.Suggested solution
The entry to the initial assets is written into the index.html file. My rough assumption is we could prepend the
homepage
string to those asset paths. I'm sure this is not the whole story, since there are cascading requests to get more assets.Alternative
No response
Additional context
No response
Validations