I can confirm this behaviour, as I am currently having similar problem. I am loading a config.js file with microloader as specified in the app.json. However, the app, while in production mode, complains that the variables from this file are not defined. When I check my localstorage in the Chrome's resources tab, I can see that the config.js file is loaded, but it is loaded last, that is after the app.js, so I figure it is the reason why the app does not really know about the included file.
Originally Posted by hguillermo
I managed to make it working by setting the 'remote' option in app.json to true, like so:
However I take this as a workaround and I would be grateful if someone could advise on how to include the config.js file not as remote and as the first one, so that it can be used for settings in the app.
"bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */