stc-babel
Use babel to transpile ES2015+ to ES5
Install
npm install stc-babel
How to use
// stc.config.js
var babel = require('stc-babel');
stc.transpile({
babel: {plugin: babel, include: /\.es$/, options: {}}
});
Use babel to transpile ES2015+ to ES5
npm install stc-babel
// stc.config.js
var babel = require('stc-babel');
stc.transpile({
babel: {plugin: babel, include: /\.es$/, options: {}}
});
npm i stc-babel
2
1.0.1
none