You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script is generated with Webpack + @babel/plugin-transform-runtime + @babel/runtime-corejs3. If I use Webpack + @babel/plugin-transform-runtime + @babel/runtime-corejs2, everything works normally. I hosted the minimum example at
The text was updated successfully, but these errors were encountered:
machsix
changed the title
[Firefox <=57] Incompatible with script produced by Webpack + Babel
[Firefox <=57] Incompatible with script produced by Webpack + Babel + core-js2
Dec 10, 2019
Expected Behavior
Script runs normally like Chrome 48+Tampermonkey and produces the following content in the console
Actual Behavior
An error is generated for Firefox 52 ESR or Firefox 57 with Tampermonkey
The error is not reproducible in
core-js@2
but notcore-js@3
Specifications
Script
The script is generated with Webpack + @babel/plugin-transform-runtime + @babel/runtime-corejs3. If I use Webpack + @babel/plugin-transform-runtime + @babel/runtime-corejs2, everything works normally. I hosted the minimum example at
Entry point is
/src/index.js
The produced userscript is at
/dist/test.user.js
The text was updated successfully, but these errors were encountered: