I am trying to make my first sencha app running and I am facing a lot of issues.
- My first issue is with microloader, is this a proper index.html file?
As all my .js dependencies are listed in proper order in app.json, I am able to compile my app using sencha app build testing and I can view my app nicely, everything is working as expected.
<html manifest="" lang="en-US">
Error evaluating <a href="http://localhost/.../SomeJS.js" target="_blank" rel="nofollow">http://localhost/.../SomeJS.js</a> with message: ReferenceError: SomeJs is not defined
- Now I wanted to create release build so I tried sencha app build production and suddenly started seeing
...in chrome console at runtime
[ERROR] TypeError: 'undefined' is not a function
- I tought maybe chaning microloader/development.js to microloader/production.js would help, but with production.js I am not even able to run production build, I receive:
This issue seems to be frequent all over the web but I was not able to find working solution. My code is compiled fine for testing and throws issues at production? Why is that?
- Is it necessary to replace microloader for production.js in production build, or build process is smart enough to do this itself?