javascript - Sencha cmd 5 minify issue -
i trying minify sencha 5 project sencha cmd, failed.
sencha generate app -ext demoapp ./demoapp
then try minify app, typing
sencha app build production
for blank project, minify success, can run in local web server. change existing project have been created, add 1 button display popup window (and information displayed xtype "displayfield").
before minified & after add 1 button display popup, works normal (tested in browser, click button, popup , information showed correctly). after minified, doesn't work,
get http://localhost/test/sencha/demoapp/widget/displayfield.js?_dc=1429726459576 404 not found.
"networkerror: 404 not found - http://localhost/test/sencha/demoapp/widget/displayfield.js?_dc=1429726459576"
is weird? if change xtype "displayfield" "textfield" works normal, or if change "button" , change fieldlabel text, works!
anyone have succesfull minify sencha 5 sencha cmd? sencha cmd version 5.1.2.52 , use sencha 5.1.0.107.
i attach original app folder code original in here , changes app code in here
many thanks!
add requires 'ext.form.field.display'
requires: [ 'demoapp.view.window.windowviewcontroller', 'ext.form.field.display' ],
Comments
Post a Comment