Created
July 8, 2014 18:21
-
-
Save trabus/f8bfa2cdd2d7c45701d0 to your computer and use it in GitHub Desktop.
Brocfile change output directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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