Reducing Webpack's startup chatter?

Webpack’s startup chatter weighs in at about three dozen lines. I’d like to reduce this to a single line, eg: “Webpack is watching the files…”. I assume that a small change in the appropriate configuration file will accomplish this, but I haven’t found a WTDI. Suggestions?

-r

3 Likes

Look at the --display option for webpacks cli: https://webpack.js.org/api/cli/#stats-options

1 Like

That looks promising, but I can’t see how to wire it in. I tried each of these in my .../assets/package.json file, with no effect:

"watch": "webpack --mode development --watch --display minimal"
"watch": "webpack --mode development --watch --display none"

do it in the watchers config in dev.exs…

5 Likes

Shazam! You rock…

1 Like