Getting this error for some strange reason
TypeError: webpack.CommonsChunkPlugin is not a constructor
Other plugins are working fine for me:
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin(),
    // create global variables accessible on server and client
    new webpack.DefinePlugin({
                Because it's not webpack.CommonsChunkPlugin but webpack.optimize.CommonsChunkPlugin
References:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With