Html-webpack-plugin: Uncaught Error: only one instance of babel-polyfill is allowed

Created on 24 Aug 2016  路  3Comments  路  Source: jantimon/html-webpack-plugin

Upgrading from 1.7.0 to 2.22.0 I now see the following error when loading index.html:

Uncaught Error: only one instance of babel-polyfill is allowed

Most helpful comment

Apologies, I think this was down to not setting inject: false as my template already included the script tags, so the scripts were being loaded twice.

All 3 comments

Could you please try to reproduce it with an as minimalistic webpack configuration as possible an post that configuration to this issue?

Apologies, I think this was down to not setting inject: false as my template already included the script tags, so the scripts were being loaded twice.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rowno picture Rowno  路  3Comments

lcxfs1991 picture lcxfs1991  路  4Comments

yyx990803 picture yyx990803  路  4Comments

NeverwinterMoon picture NeverwinterMoon  路  3Comments

MatthewKosloski picture MatthewKosloski  路  3Comments