Yes it's possible, and if you are using yeoman (at the last version) and you have generated an ember.js
app with:
yo ember:all
you should have a app.js
in myproject/scripts/app.js
, where inside the file at the top (somewhere starting from line 10) you have this code lines which are commented:
require('app/scripts/routes/*');
require('app/scripts/controllers/*');
require('app/scripts/models/*');
require('app/scripts/views/*');
uncomment them and the build process should be able to pickup your single model files and also other files like views, controllers etc. you have in the directories specified above.
Update
It's also worth mentioning that responsible for the require
statement is the grunt module grunt-neuter
, so you should have it also defined as a dependency in your Gruntfile.js
Hope it helps.