Packaging a ember addon in app.js instead of vendor.js


#1

Is there a way to bundle an ember addon in app.js instead of vendor.js. Addons seem to get packaged into vendor.js by default. In this case both the app and the addon is authored by the same person.

We run code obfuscation on app.js, and exclude vendor.js from it. We have a custom ember addon which we want to obfuscate as well. The approach I’m trying to take is to include it in app.js so that it gets obfuscated.


#2

If you have code like this in the addon you will have to change it.

I think you can create the custom App with treeForApp but have not done this.