broccoli-es6-concat

broccoli es6 concat compatible with 0.5

Broccoli ES6 Concat

Highly inspired by broccoli-es6-concatenator Compatible with es6-transpiler 0.5

npm install --save-dev broccoli-es6-concat

Usage

compileES6 = require('broccoli-es6-concat');
var applicationJs = compileES6(sourceTree, {
  loaderFile: 'loader.js',
  ignoredModules: [
    'resolver'
  ],
  inputFiles: [
    'todomvc/**/*.js'
  ],
  legacyFilesToAppend: [
    'jquery.js',
    'handlebars.js',
    'ember.js',
  ],
  wrapInEval: true,
  outputFile: '/assets/application.js'
});

Some work needs to be done in regards of caching