trivago/parallel-webpack

Support stats as string

mzealey opened this issue · 0 comments

Explain the problem

As per https://webpack.js.org/configuration/stats/ the stats object can be a string. But this causes webpackWorker.js to crash because you use Object.create() (line 37)

Expected Behaviour

Should accept stats: 'errors-only' config

Actual Behaviour

Crashes