Webpack 4 migration CommonsChunkPlugin

As of webpack v4 the CommonsChunkPlugin is deprecated. We have deprecated and removed CommonsChunkPlugin, and have replaced it with a set of defaults and easily overridable API called optimization.splitChunks. webpack.optimize.CommonsChunkPlugin has been removed, please use config.optimization.splitChunks instead. Deprecated You no longer need to use these plugins: DedupePlugin has been removed too in v4 NoEmitOnErrorsPlugin -> … Read more

Can someone explain Webpack’s CommonsChunkPlugin

This is how the CommonsChunkPlugin works. A common chunk “receives” the modules shared by several entry chunks. A good example of a complex configuration can be found in the Webpack repository. The CommonsChunkPlugin is run during the optimization phase of Webpack, which means that it operates in memory, just before the chunks are sealed and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)