Skip to content

Instantly share code, notes, and snippets.

@trabus
Created July 8, 2014 18:21
Show Gist options
  • Save trabus/f8bfa2cdd2d7c45701d0 to your computer and use it in GitHub Desktop.
Save trabus/f8bfa2cdd2d7c45701d0 to your computer and use it in GitHub Desktop.
Brocfile change output directory
/*
Simply modify the output after calling app.toTree(). The final destination is completely up to you.
Something like the following in your Brocfile:
*/
var pickFiles = require('broccoli-static-compiler');
// default app = new EmberApp stuff here
var appTree = app.toTree();
module.exports = pickFiles(appTree, {
srcDir: '/dist',
files: ['**/*'],
destDir: '/some-other-path'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment