amireh / happypack

Happiness in the form of faster webpack build times.
MIT License
4.23k stars 124 forks source link

print status messages to stderr instead of stdout so they don't wind up in stats.json #235

Open jedwards1211 opened 6 years ago

jedwards1211 commented 6 years ago

If I do webpack --json > stats.json some happypack output winds up in it and I have to manually remove it:

happy[1]: version: 5.0.0. threads: 4
happy[1]: all set; signaling webpack to proceed.
{
  "errors": [
    "./node_modules/react-redux-features/es/featureloader.js\nmodule build failed (from ./node_modu
    "./src/universal/components/dashboard/createdashboard.js\nmodule not found: error: can't resolv
    "./src/universal/features/historicalData/HistoricalDataPlot.js\nModule not found: Error: Can't

Happypack should print everything to stderr so this doesn't happen