Skip to content

Commit

Permalink
build: upgrade to Babel 7
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Sep 23, 2018
1 parent 519b487 commit 55e7f57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"presets": [
["env", {
"modules": false
}],
"stage-0"
[
"@babel/preset-env",
{
"modules": false
}
]
]
}
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 55e7f57

Please sign in to comment.