Using Transpilers

Natronfile

import {src, dest, piper} from "natron-vinyl";
import {transform} from "vinyl-tf-babel";

export function build() {
  return piper(src("src/**/*.js", transform(), dest("dist"));
}

.natronrc

{
  "transpiler": "babel"
}

Did this page help you?