Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babel 5.x support #6

Merged
merged 2 commits into from
Apr 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
});