Issue
Build Web App for Production produces package not runnable when including an external js resource.
But if set for Testing, the compile web app works fine.
I was using SA 4.2.1 with CMD 6.5.0. But just upgrade to SA 4.2.2 with CMD 6.5.1 but produce the same results.
To reproduce
1. Create a blank project
2. Add a panel and button
3. Add a resource "Config.js" and set requireSdk and disable IncludeInBundle
Ext.define('MyApp.Config', {
statics: {
baseUrl:'http://example.com'
}
});
4. Build Web App for Production
Observation
The Config.js file seems to contain ES6 polyfills.