|
||||
---|---|---|---|---|
.. | ||||
lib | 11e3a9652a | %!s(int64=7) %!d(string=hace) años | ||
.npmignore | 11e3a9652a | %!s(int64=7) %!d(string=hace) años | ||
README.md | 11e3a9652a | %!s(int64=7) %!d(string=hace) años | ||
package.json | 11e3a9652a | %!s(int64=7) %!d(string=hace) años |
Compile ES2015 object super to ES5
npm install --save-dev babel-plugin-transform-es2015-object-super
.babelrc
(Recommended).babelrc
{
"plugins": ["transform-es2015-object-super"]
}
babel --plugins transform-es2015-object-super script.js
require("babel-core").transform("code", {
plugins: ["transform-es2015-object-super"]
});