Best practices: including coffeescript objects which are not an Ember type nor a 'vendor' dependency into a CLI project?


I have some JS (actually .coffee ) objects that I want to use in my code, which I want to be compiled by the ember-cli as they would be if I put them in the /vendor folder, but they are not vendor dependencies, they are files I have created and will maintain. Are there best practices on how to include these files/objects in an Ember app ? For example, I have one object that is used for maintaining the history of a SVG path, allowing redo, undo, etc.


Actually, I can’t put them in vendor/ because they are coffeescripts … so then I thought that would mean I would need to put them in the app/ folder, say app/objects/ and export/import them into my controller and that seems to work ok now :smile: