Skip to content

Instantly share code, notes, and snippets.

@josemarluedke
Created November 27, 2016 23:50
Show Gist options
  • Save josemarluedke/6c1f253d71addc1acea5d948c85d60c7 to your computer and use it in GitHub Desktop.
Save josemarluedke/6c1f253d71addc1acea5d948c85d60c7 to your computer and use it in GitHub Desktop.
// postprocessTree: function(type, tree)
if (process.env.SHOULD_BUILD_FASTBOOT && type === 'all') {
var fastbootTree = this.buildFastBootTree();
// Merge the package.json with the existing tree
return mergeTrees([tree, fastbootTree], {overwrite: true});
}
return tree;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment