Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 644 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 644 Bytes

Broccoli ES6 Concat

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

Instalation

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