@phcoliveira wrote:
Hello there and thanks in advance!
For some unusual, but thoughtful, reasons, I would like the files from the
addonfolder of some private addons to be compiled in another file, other thanvendor.js. Is it possible?I already know how to remove such contents from the
vendor.jsby returning an emptytreefor the hooktreeForAddon. But I can’t find a way to place them in anotherjsfile.After many attempts, I am thinking about replicating
ember-cli's behaviour insideember-cli-build.js, for example:
To use
broccoli-funnelto create a tree oflib/private-addon/addon/**/*.hbsand have these templates precompiled and concatenated in a file namedassets/private-addons.js;To use
broccoli-funnelto create a tree oflib/private-addon/addon/**/*.jsand have these files processed bybroccoli-babel(or something like that) and concatenated in the file mentioned above.How would you approach this problem?
Again, thanks!
Posts: 1
Participants: 1