How to use the broccoli.MergedTree function in broccoli

To help you get started, we’ve selected a few broccoli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ember-cli / ember-cli / lib / preprocessors / css.js View on Github external
module.exports.css = function(trees, inputPath, outputPath) {
  var compiler = requireLocal('broccoli-static-compiler');
  return compiler(new broccoli.MergedTree(trees), {
    srcDir: inputPath,
    destDir: outputPath
  });
};