按照這個解決
https://github.com/chentsulin/electron-react-boilerplate/issues/1300
changing "babili-webpack-plugin": "^0.1.2"
to "babili-webpack-plugin": "0.1.1"
(note both removal of ^
and version downgrade to 0.1.1
) solves the problem. Need to track down what changed in 0.1.2. I am a bit suspicious of the renaming of the package from babili to minify but need to look into it.