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.
Activity
ZauberNerd commentedon Sep 25, 2019
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.
mixins/public-dir/mixin.core.jsThen register the mixin in your config and configure
distDir(the directory that is being served by express) andbuildDir(the directory in which webpack writes the artifacts) accordingly:package.jsonCaution: This approach unfortunately does not work when using static rendering (
hops build -s).tjwelde commentedon Oct 16, 2019
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.