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
{{ message }}
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
Currently, the dev option defaults to {publicPath: '/'}. I was expecting that if I provided my own dev config object, it would be merged with the default one. In other words, if I only provide logLevel, I expected publicPath to still be /.
Would you consider making this behavioral change? I would be happy to PR it.
Actual Behavior
The provided object is not merged with the default one, so changing the log level of the dev server removes the default publicPath config.
New Feature Use Case
Shown above -- tweaking an unrelated setting without affecting the defaults.
(P.S. thanks for this library! ❤️)
The text was updated successfully, but these errors were encountered:
Thanks for the PR 🍺 You'll see a fix commit pop up in this thread any second now. Feel free to put together PRs in the future, we love those! (I just happened to be cranking away on this when you made that issue)
This issue is for a:
Code
CLI Command
$ webpack-serve
webpack.config.js
Expected Behavior
Currently, the
dev
option defaults to{publicPath: '/'}
. I was expecting that if I provided my owndev
config object, it would be merged with the default one. In other words, if I only providelogLevel
, I expectedpublicPath
to still be/
.Would you consider making this behavioral change? I would be happy to PR it.
Actual Behavior
The provided object is not merged with the default one, so changing the log level of the dev server removes the default publicPath config.
New Feature Use Case
Shown above -- tweaking an unrelated setting without affecting the defaults.
(P.S. thanks for this library! ❤️)
The text was updated successfully, but these errors were encountered: