Skip to content

Commit

Permalink
Merge pull request #6 from azu/babel5
Browse files Browse the repository at this point in the history
Babel 5.x support
  • Loading branch information
azu committed Apr 9, 2015
2 parents 8e31118 + 0c782a0 commit 8e34044
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"experimental": true
"stage": 0
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Babel has many transform options.

- [Options · Babel](https://babeljs.io/docs/usage/options/ "Options · Babel")

`espower-babel` support babel transform options with `.babelrc`
`espower-babel` support babel transform options with [.babelrc](http://babeljs.io/docs/usage/babelrc/ "babelrc").

`espower-babel` read `${cwd}/.babelrc` if exists.

Expand All @@ -158,7 +158,7 @@ also can manually configure babel transform options.
```js
require('espower-babel')({
babelrc: {
experimental: true
stage: 0
}
})
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"url": "https://github.com/azu/espower-babel/issues"
},
"dependencies": {
"babel-core": "^4.7.16",
"convert-source-map": "^0.4.1",
"babel-core": "^5.0",
"convert-source-map": "^1.0.0",
"espower-source": "^0.10.0",
"minimatch": "^2.0.1",
"xtend": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion test_loader/espower-traceur-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ require('..')({
]
},
babelrc: {
experimental: true
stage: 0
}
});

0 comments on commit 8e34044

Please sign in to comment.