extjs - Sencha Cmd 5: app build bundle is missing Ext.application function -
i using sencha command 5.1.3.61 (though i've tried other 5.1 versions). when run sencha app build testing, resulting app.js bundle missing required code ext - ext.application not defined.
i created empty project compare , 1 generates app.js fine, project missing large chunk of included in ext-all-rtl-debug.js
following key sections app.json:
"js": [ { "path": "${ext.dir}/build/ext-all-rtl-debug.js" }, { "path": "app.js", "bundle": true }, { "path": "direct/api-debug.js", "remote": true } ], "output": { "base": "${workspace.build.dir}/${build.environment}/${app.name}", "page": { "path": "../../../index.html", "enable": false }, "microloader": { "path": "microloader.js", "embed": true, "enable": true } },
solved. sencha app upgrade -ext[version] left 4.x files layout around broke bundle. replaced ext folder clean 5.1 tree , working
Comments
Post a Comment