Closed johnb8 closed 3 years ago
You're using CleanWebpackPlugin or something too? When running our example project, I see the following:
Oh yeah I'm using friendly-errors-webpack-plugin
with quiet: true
in the devServer
settings of webpack. It gives an app-config error when I open the project in my browser, kind of confusing to see different errors in the browser and the terminal though, but this might be more of a me problem. I do see the same as you when I run the example project with a bad config.
Let's keep this issue open - there's probably metadata we can attach to these errors so that that plugin shows them better.
@johnb8 is this still confusing, with our changes in 2.3? I think the errors should be nicer now
Nope, seems to be fixed. Thanks!
Running
webpack-dev-server
in a project using webpack and the app-config webpack plugin with an invalid app-config config gives an unhelpfulThis dependency was not found: @lcdev/appconfig
error. It would be nice if app-config errors could be shown as well, like when just runningwebpack
. Not sure if that's a limitation ofwebpack-dev-server
, but it should probably be documented somewhere at least.