What about using this:
https://www.npmjs.org/package/broccoli-wrap