vlad 6f123ff03e 18.07 | 6 years ago | |
---|---|---|
.. | ||
lib | 6 years ago | |
.npmignore | 6 years ago | |
README.md | 6 years ago | |
package.json | 6 years ago |
Allow parsing of do expressions.
$ npm install babel-plugin-syntax-class-constructor-call
.babelrc
(Recommended).babelrc
{
"plugins": ["syntax-class-constructor-call"]
}
$ babel --plugins syntax-class-constructor-call script.js
require("babel-core").transform("code", {
plugins: ["syntax-class-constructor-call"]
});