Skip to content

Instantly share code, notes, and snippets.

@tomdale
Created August 9, 2017 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomdale/ad578f9e7ac925284f41f624fb8bf796 to your computer and use it in GitHub Desktop.
Save tomdale/ad578f9e7ac925284f41f624fb8bf796 to your computer and use it in GitHub Desktop.
const babel = require('broccoli-babel-transpiler');
const uglify = require('broccoli-uglify-js');
let jsTree = funnel('src', { include: ['**/*.js'] })
.apply(babel, { presets: ['env'] })
.apply(uglify);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment