Skip to content

Commit

Permalink
tweak babel config placement
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 26, 2017
1 parent 6275cea commit 0a95949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions packages/@vue/cli/lib/generators/babel/files/.babelrc

This file was deleted.

4 changes: 3 additions & 1 deletion packages/@vue/cli/lib/generators/babel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ module.exports = api => {
devDependencies: {
'@vue/cli-plugin-babel': '^1.0.0',
'babel-preset-vue-app': '^2.0.0'
},
babel: {
presets: ['vue-app']
}
})
api.renderFiles('./files')
}
})
}

0 comments on commit 0a95949

Please sign in to comment.