Hello,
I'm trying to understand how to deal with an external js (call it general.js) which contains some variables.
So, the architect project has the general.js file appearing in the right bar under resources.
I checked the flag "remote" and "requireSDK".
So, here what's happening. Once i've created the build version, i can see inside the app.js file the variables i have defined in my external js file. I'm trying to understand why this happens, since the flag "remote" says that the file will not be compiled in.
Moreover, once i load my app, i see an error. The app tries to download the external file (general.js) but it tells me that it cannot understand the command "Ext.define".
This surprise me, since the flag "requireSDK" says that the script requires the SDK and will be compiled after.
So, my question is. how can i load remotely my file without compile it in the app.js?
Thanks in advance.