AnsweredAssumed Answered

Dojo Build System with Custom Widget not Building Compressed js

Question asked by jfaron44 on Jun 7, 2016
Latest reply on Jun 8, 2016 by jfaron44

I’m having an issue with the Dojo build system with my custom widgets. The dojo build creates uncompressed versions of  the custom widgets in the Dist folder, but not compressed. The uncompressed js file has the Template.html  at the top under a ‘require({cache:{‘url: app/widget/templates/%WidgetName%.html’ with a compressed version of the template, and then underneath that, the uncompressed widget. It does create a %widgetname%.js file, but with only "//>>built" in the file at the top.


I don’t think the problem is with my directory structure or with the build.profile, since it is copying the files, just not compressing the js for those widgets. Am I missing something with custom code and how build system works? All works fine in my dev environment.


The build runs in command prompt, and finishes with very generic errors that are not specific to why the build fails to complete. It seems that everything else works as expected with the build, just not my custom widgets.



Jim Faron

Katy ISD

Katy, TX