Skip to content

Commit

Permalink
Merge pull request #41 from danmcclain/es6-dist
Browse files Browse the repository at this point in the history
Adds an es6 version to dist
  • Loading branch information
rwjblue committed Jan 24, 2015
2 parents 404b848 + 471255d commit 8b6558b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Brocfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ var replace = require('broccoli-replace');
* @return {Array}
*/
function buildDistLib (libTree) {
return compileModules( libTree, {
var compiledModules = compileModules( libTree, {
inputFiles: ['route-recognizer.umd.js'],
output: '/route-recognizer.js'
});

var es6Modules = new Funnel( libTree, {
exclude: ['*.umd.js'],
destDir: '/es6'
});

return mergeTrees([es6Modules, compiledModules]);
}

/**
Expand Down

0 comments on commit 8b6558b

Please sign in to comment.