sencha cmd - How to build ExtJS app into .js file, not inside index.html? -


I have an extension JS app (5.0, MVC) that should be placed inside the divisor in the HTML page in the HTML page. Everything works in the field of development, but I do not understand how to use cm CMD to make it, because the construction process creates "Launcher" code and keeps it in the index. When I copy / paste the JS code into my template - it works fine. So, the question is: Can I somehow redirect the JS output to the .js file, which I will include in my HTML (with & lt; source & gt;), so I Does it require copy / paste JS code every time I rebuild the app?

Thank you.

After some I found it myself:

app.json < / P>

"output": {$ base.example.com} Js "," embed ": incorrect," enabled ": true}},

and in my template.

Index.html will still be overwritten on every build, but not talk to me.


Comments