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
I was just trying to move up the src into the theme folder. Not directly, but placed inside a subdirectory named static along with the dist folder.
While everything else went smoothly, I ran into an issue where my local server was not loading the generated static files.
After some research I found out, that it's trying to load them from a hardcoded path declared here.
I think it would be a good idea to change that so that it uses the config value set in options.output.base.
As a workaround, I hooked into it directly and changed the publicPath:
Hi,
I was just trying to move up the src into the theme folder. Not directly, but placed inside a subdirectory named
static
along with the dist folder.While everything else went smoothly, I ran into an issue where my local server was not loading the generated static files.
After some research I found out, that it's trying to load them from a hardcoded path declared here.
I think it would be a good idea to change that so that it uses the config value set in options.output.base.
As a workaround, I hooked into it directly and changed the publicPath:
The text was updated successfully, but these errors were encountered: