Aug 28, 2017 · 1 min read
I think you need to install babel-core for dev dependency to make it work as well.
npm install babel-core --save-dev`
Besides, i can’t see the real use for shx` over there. You could have just leave it as rm -rf public/**`
Other than that, I think it is quite clever to use
`webpack-config-utils` and `CopyWebpackPlugin` but just noted that using `removeEmpty` might sometimes cause bugs when you need to explicitly set am empty array or object.