Using Emberjs with RequireJs

H , i am new to Emberjs and is using node at the back end. So for the front end i am implementing RequireJS module pattern for security purposes, but i had problems with including ember and ember-data library as dependencies in Require.

Can anybody help to by providing an example or a better source.

Yes, I know that but it utilises ExpressJS and I am using SailsJS and found hard to configure ES6 module management (may be i am missing some lib).

Do u know how to use it with a food example and any thoughts on using a backend for Ember on Node