Webpack exclude entries for CommonsChunkPlugin

Posted by Prem Tiwari | Updated on

It’s because the first parameter for CommonsChunkPlugin is “common” where it should be “lib”. The plugin picks up the entry with a name matching with the value of its first parameter.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers