Target-based transpilation
Proposed API:
const { code, map, stats } = buble.transform( code, {
target: {
chrome: 47,
node: 4
}
});
(stats could be used to see if any transpilation has actually taken place)
Proposed API:
const { code, map, stats } = buble.transform( code, {
target: {
chrome: 47,
node: 4
}
});
(stats could be used to see if any transpilation has actually taken place)