diff --git a/.babelrc b/.babelrc index 993e9f5..9da67db 100644 --- a/.babelrc +++ b/.babelrc @@ -1,8 +1,10 @@ { "presets": [ - ["env", { - "modules": false - }], - "stage-0" + [ + "@babel/preset-env", + { + "modules": false + } + ] ] } diff --git a/src/index.js b/src/index.js index 71f9c12..6c88c9c 100644 --- a/src/index.js +++ b/src/index.js @@ -1,6 +1,6 @@ import 'normalize.css'; import 'cropperjs/dist/cropper.css'; -import 'babel-polyfill'; +import '@babel/polyfill'; import Vue from 'vue'; import App from './app.vue'; import './components';