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

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.

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

https://github.com/martinic/ember-cli-marked/blob/master/index.js#L10

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