trek / ember-cli-yuidoc-converter

MIT License
0 stars 5 forks source link

Migrate addon/index.js to use broccoli-caching-writer. #2

Open rwjblue opened 8 years ago

acorncom commented 8 years ago

Didn't have time to actually work on this tonight, but thought I'd leave a few notes here that might help the next person looking at this.

Broccoli uses the returned DocTree module setup here and calls .read on it per the Broccoli docs: https://github.com/trek/ember-cli-yuidoc-converter/blob/master/index.js#L100

Looks like we want to cache the tmp folder if possible that is returned here: https://github.com/trek/ember-cli-yuidoc-converter/blob/master/addon/index.js#L33-L344

using https://github.com/ember-cli/broccoli-caching-writer in some way (unclear on this part :smile: )