JavaScript Building a MEAN Application Going MEAN with Angular Setting Up webpack

Mark Kelly
Mark Kelly
Pro Student 3,783 Points

webpack.config.js file needs to be updated.

Just a heads up.. the webpack.config.js needs to be updated in the teacher notes on this page ->

The main change is around the 'plugins' reference. I think it should be updated to the following:

plugins: [
    new webpack.optimize.CommonsChunkPlugin({            
        names: 'vendor', 
        filename: 'vendor.bundle.js'




1 Answer

Andy Watts
Andy Watts
20,836 Points

Thanks. This solved my issue too.