I am new to ember-cli and just recently figured out the basics. Now I have moved to learning addons by making one and bumped into a problem that I seem to not be able to figure out on my own
What I would like to achieve is:
- exclude a custom folder from the app tree
- and build contents of a custom folder into a separate destination folder inside ‘dist’ folder.
Basically I need contents on one folder to be built into separate .js source files to be referenced separately from the main application source.
I have read up and figured out by now how to use broccoli to do all of that (moving, transpiling from es6 and the rest) and did some of that without an addon via app.toTree method which worked fine.
What I can’t figure out is How do I tap into parent tree from within an addon, to exclude folder and add my own build steps?
Any examples would be much appreciated
Thank you very much for all you help guys! Dm