Webpacker v4.0.3 Release Notes
Release Date: 2019-05-28 // almost 5 years ago-
👀 Please see the diff
💥 Breaking changes (for pre-existing apps)
@babel/polyfill
doesn't make it possible to provide a smooth migration path fromcore-js@2
tocore-js@3
: for this reason, it was decided to deprecate@babel/polyfill
in favor of separate inclusion of required parts ofcore-js
andregenerator-runtime
. #2031
In each of your
/packs/*.js
files, change this:import "@babel/polyfill";
to this:
import "core-js/stable"; import "regenerator-runtime/runtime";
Don't forget install those dependencies directly!
yarn add --save core-js regenerator-runtime