{"_id":"5619a39a13874c0d007038f0","project":"5617a1f5a410c90d00c612f5","user":"5617a0a4a410c90d00c612f4","githubsync":"","__v":1,"category":{"_id":"5619a39a13874c0d007038ed","version":"5619a39913874c0d007038e9","__v":2,"pages":["5619a6e1d4b0a90d004c604e","5619a6f7d4b0a90d004c6050"],"project":"5617a1f5a410c90d00c612f5","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-10T22:45:07.366Z","from_sync":false,"order":2,"slug":"basics","title":"Basics"},"version":{"_id":"5619a39913874c0d007038e9","project":"5617a1f5a410c90d00c612f5","__v":5,"createdAt":"2015-10-10T23:47:37.777Z","releaseDate":"2015-10-10T23:47:37.777Z","categories":["5619a39a13874c0d007038ea","5619a39a13874c0d007038eb","5619a39a13874c0d007038ec","5619a39a13874c0d007038ed","5651062a3b4d113500ed22d1","5651c89a852cfb3500a69830","565505ad055aa40d006f0ca7","56c219d8d3199a0d00694be6"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"Orange Arrow","version_clean":"0.2.0","version":"0.2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-10-10T22:45:35.350Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"## `Natronfile`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"import {src, dest, piper} from \\\"natron-vinyl\\\";\\nimport {transform} from \\\"vinyl-tf-babel\\\";\\n\\nexport function build() {\\n  return piper(src(\\\"src/**/*.js\\\", transform(), dest(\\\"dist\\\"));\\n}\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n## `.natronrc`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"transpiler\\\": \\\"babel\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"using-transpilers","type":"basic","title":"Using Transpilers"}
## `Natronfile` [block:code] { "codes": [ { "code": "import {src, dest, piper} from \"natron-vinyl\";\nimport {transform} from \"vinyl-tf-babel\";\n\nexport function build() {\n return piper(src(\"src/**/*.js\", transform(), dest(\"dist\"));\n}", "language": "javascript" } ] } [/block] ## `.natronrc` [block:code] { "codes": [ { "code": "{\n \"transpiler\": \"babel\"\n}", "language": "json" } ] } [/block]