chensenlai 10988628a0 语音房项目初始化 | il y a 5 ans | |
---|---|---|
.. | ||
lib | il y a 5 ans | |
.npmignore | il y a 5 ans | |
README.md | il y a 5 ans | |
package.json | il y a 5 ans |
Compile exponentiation operator to ES5
$ npm install babel-plugin-transform-exponentiation-operator
.babelrc
(Recommended).babelrc
{
"plugins": ["transform-exponentiation-operator"]
}
$ babel --plugins transform-exponentiation-operator script.js
require("babel-core").transform("code", {
plugins: ["transform-exponentiation-operator"]
});