Replace babel/polyfill w/ core-js v3.
Babel versions above 7.4 recommend using new core-js polyfill over deprecated babel/polyfill. Also updated babel/core and babel/preset-env. Added babelrc for defined config of corejs version & targeted browsers.
This commit is contained in:
@@ -4,6 +4,8 @@ import { routes } from "@/router.js";
|
||||
import Vinlottis from "@/Vinlottis";
|
||||
import VueAnalytics from "vue-analytics";
|
||||
|
||||
import "core-js/stable"; // babel polyfill
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(VueAnalytics, {
|
||||
id: "UA-156846886-1"
|
||||
|
||||
Reference in New Issue
Block a user