Skip to content

Commit

Permalink
fix: default babelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Oct 19, 2018
1 parent df9bb78 commit ec40b67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ class Config {
initBabelrc() {
const projectBabelrc = path.join(this.baseDir, '.babelrc');
if (fs.existsSync(projectBabelrc)) {
this.babelrc = projectBabelrc;
this.projectBabelrc = projectBabelrc;
} else {
this.babelrc = path.resolve(__dirname, '../config/babelrc');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "easywebpack",
"version": "4.9.0-rc.1",
"version": "4.9.0-rc.2",
"description": "基于 Webpack 的前端构建工程化解决方案",
"keywords": [
"webpack",
Expand Down

0 comments on commit ec40b67

Please sign in to comment.