In my app.json I have:
I need this order because in my app I use some functions that need to be already loaded.
Code:
"js": [
{
"path": "lib/router.js",
"includeInBundle": true
},
{
"path": "lib/translator.js",
"includeInBundle": true
},
{
"path": "app.js",
"bundle": true
}
I need this order because in my app I use some functions that need to be already loaded.
When I'm in development the order in which js are loaded is correct.
When I build I see that you have first Ext, then you App, then the files I include.
So the concatenated is: Ext.* + App.* + router.js + translator.js
Is there an option to respect the order or do I have to change the compile script?
The other option is to include first the *.js files in my index.html, buy I would really like to use the new loader.
Thanks,
Aucun commentaire:
Enregistrer un commentaire