Skip to content

Commit

Permalink
fix: 合并babelrc和babel.config.js, 修复standard-version依赖缺失
Browse files Browse the repository at this point in the history
  • Loading branch information
sl1673495 committed Jul 31, 2019
1 parent 1f7d8f3 commit 4554ff8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
11 changes: 0 additions & 11 deletions .babelrc

This file was deleted.

11 changes: 9 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
module.exports = {
presets: [
'@vue/app'
presets: ['@vue/app'],
plugins: [
[
'component',
{
libraryName: 'element-ui',
styleLibraryName: 'theme-chalk'
}
]
]
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
"node-sass": "^4.12.0",
"postcss-pxtorem": "^4.0.1",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.6.10",
"standard-changelog": "^2.0.13"
"standard-changelog": "^2.0.13",
"standard-version": "^7.0.0",
"vue-template-compiler": "^2.6.10"
},
"eslintConfig": {
"root": true,
Expand Down

0 comments on commit 4554ff8

Please sign in to comment.