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
Hi @tjwelde thank you for reporting this.
At the moment we're in the middle of preparing the next major version (Hops 12) which we will release at the end of the year, but I've found a way to configure a custom mixin which will bring you the desired behaviour for now.
Then register the mixin in your config and configure distDir (the directory that is being served by express) and buildDir (the directory in which webpack writes the artifacts) accordingly:
Hey @ZauberNerd thank you for the suggestion. We will implement it as a mixin for now.
If you don't want to use this ticket as a feature request for hops 12, feel free to close it.
This is my intent (choose one)
The problem
I want to provide static assets, for example
favicon.ico
androbots.txt
via the integrated express webserver.AFAICS I can only import them in code, which will give me the path to the file, postfixed with a random id.
Proposed solution
Have a
public
folder with assets, I want to serve as-is.The text was updated successfully, but these errors were encountered: