如何最小化 Ext JS / Ext Gantt 文件夹以进行生产?
我刚刚使用 Ext JS 和 Ext Gantt 技术在我们的 .NET (WebForms) 项目中完成了甘特图页面的开发。正如我在之前的帖子中所述,效果很好。
我现在的问题是,即使在删除明显的开销之后,我的文件夹容器 Ext JS 和 Ext Gantt 与 hte 项目的其余部分相比仍然是巨大的,我的团队正在抱怨。因此,我需要尽可能地减少此文件夹,只将运行甘特图所需的内容“准确地”(以合理的方式)留在那里,暂时不做任何其他事情。
我确实尝试了几个小时,但仍然找不到好的/简单的食谱。
以下链接讨论了这一点,但我仍然感到困惑:
- http://www.sencha.com/forum/showthread.php?84560-include-only-required-extjs-files
- 最小的 ExtJS 包是什么?
- http://www.sencha.com/products/extcore/
- 你用什么来最小化和压缩 JavaScript 库?
有人有这方面的经验吗?我知道 Ext JS 有一个名为 builder 的工具,但我从未使用过它。
I just finished development of a Gantt chart page inside our .NET (WebForms) project using Ext JS and Ext Gantt technology. Works great as I described in a previous post.
My problem now is that my folder container Ext JS and Ext Gantt even after removing obvious overhead is huge compared to the rest of hte project and my team is complaining. So I need to reduce this folder as much as I can just leaving there "exactly" (in a reasonable way) what I need to run the Gantt chart and nothing else for now.
I did try for a couple of hours but still cannot find a good / easy recipe.
The following links talk about this but I am still confused:
- http://www.sencha.com/forum/showthread.php?84560-include-only-required-extjs-files
- What is the smallest ExtJS package?
- http://www.sencha.com/products/extcore/
- What do you use to minimize and compress JavaScript libraries?
Anybody with experience doing this?. I know Ext JS has a tool called builder but I never used it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您正在寻找的工具是 Sencha SDK 套件。 JS Builder 正是您所需要的
http://www.sencha.com/products/sdk-tools/
不幸的是,我还没有使用它。
The tools you are looking for are the Sencha SDK suite. The JS Builder is what you need
http://www.sencha.com/products/sdk-tools/
Unfortunately, I have not yet worked with it.
您应该为 Gannt 应用程序创建一个 jsb3 文件,如下所示,
希望您从 EXT Gannt 文件夹运行此命令。然后您将获得一个文件名 gantt.jsb3。您可以构建该文件以获得甘特应用程序的生产版本,如下所示如下,
有关更多信息,请参阅
http://docs.sencha.com/ext-js/4-1/#!/guide/getting_started
You should create a jsb3 file for your Gannt application like follows,
hope your running this command from the EXT Gannt folder.then you will get a file name gantt.jsb3.you can build that file to obtain a production build for gantt app, as follows,
For more info please refer,
http://docs.sencha.com/ext-js/4-1/#!/guide/getting_started
对于未来的读者,他们已转向“Sencha Cmd”工具:http: //www.sencha.com/blog/all-new-sencha-cmd/
For future readers, they've moved to the "Sencha Cmd" tool: http://www.sencha.com/blog/all-new-sencha-cmd/