Skip to content

Explore the build option of the sencha command to build javaScript Library

  • plugin_dbui

  • javaScript libraries are obtained by using the compile option of the senchCmd.

  • This approach required to load all Ext JS class via the option --class and to exclude the namesapce Ext.

  • This is tricky with version Ext JS 6 since the source are distributed in several places. In addition, there is several themes.

  • Might be simplify by using sencha app build which generate the javaScript for the whole application!

  • The build process relies on 3 files: app.json, index.html and build.xml. The first one should be modified to customize the build.

  • These files can be ontained by creating a sencha application from scratch:

      > sencha -sdk /path/to/ext6 generate app MyApp /path/to/my-app
  • Mode information in: http://docs.sencha.com/cmd/guides/extjs/cmd_app.html