trivago / parallel-webpack

Builds multi-config webpack projects in parallel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support stats as string

mzealey opened this issue · 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