Thứ Hai, 7 tháng 1, 2019

How to fix “Only one instance of babel-polyfill is allowed” error ReactJS with Webpack v4

How to fix “Only one instance of babel-polyfill is allowed” error ReactJS with Webpack v4

If the culprit is HtmlWebpackPlugin, you need to add the option 
inject: false when instancing the plugin. Certain configurations without this option causes your built javascript code to be loaded twice.

From: https://stackoverflow.com/questions/43902416/only-one-instance-of-babel-polyfill-is-allowed-error
Previous Post
Next Post

post written by: