Can't require or extend classes like Ext.log.writer.Remote, when they're wrapped in "//<feature logger>" comments..
Steps to reproduce the problem:
Use Sencha Cmd to generate an app.
Add 'Ext.log.writer.Remote' to the Ext.application call's "requires" config.
In app.json, set "logger": true in "buildOptions".
Run "sencha app build production".
The result that was expected:
The result that occurs instead:
[INF] Processing instantiation refereces to classes and aliases
[INF] Processing source dependencies
[ERR] Failed to find file for Ext.log.writer.Remote
required by /Users/jacobweber/Test/app.js
[ERR] BUILD FAILED
Screenshot or Video:
See this URL for live test case: N/A
Debugging already done:
Removing the <feature> tags in the Sencha source fixes the problem. Changing the value of "logger" in "buildOptions" doesn't seem to make a difference.
We plan to further normalize the app build process between ext and touch so that such things are configurable on both... but at the current time, the compiler options setting is hard-coded in this script:
around line 255 or so.
Obviously changes to this file will need to be performed any time you upgrade Cmd but it can be hacked to get what you need for now.