Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 829 Bytes

README.md

File metadata and controls

51 lines (30 loc) · 829 Bytes

Broccoli Export Tree

Build Status

Export a tree to an external directory.

Usage

Export a tree to the dist/ directory:

var exportTree = require('broccoli-export-tree');

// assuming someTree is a built up tree
var tree = exportTree(someTree, {
  destDir: 'dist'
});

Documentation

exportTree(inputTree, options)


options.destDir {String}

The path to move the export to.


options.clobber {true,false}

Should the destination directory be removed before copying?

Default: true

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

npm install
npm test

License

This project is distributed under the MIT license.