angelozerr / tern.jsduck

Tern Plugin for ExtJS, CKEditor
MIT License
9 stars 3 forks source link

Plugin files are too big #6

Closed fflorent closed 8 years ago

fflorent commented 8 years ago

Currently, the files like extjs 5.1.1 are 11.5 Mb weighed. This issue is meant to study possible means to shrink the file size:

Other possibilities?

Probably it will benefit to the JS engines memory too.

Florent

fflorent commented 8 years ago

Current status:

$ ls -lh plugin
total 11M
-rw-r--r-- 1 florent florent 633K Mar 25 09:15 ckeditor_4.4.1.js
-rw-r--r-- 1 florent florent 376K Mar 27 14:13 ckeditor_4.4.7.js
-rw-r--r-- 1 florent florent 3.7M Mar 27 14:13 extjs_4.2.1.js
-rw-r--r-- 1 florent florent 3.0M Mar 27 14:13 extjs_5.0.0.js
-rw-r--r-- 1 florent florent 3.3M Mar 27 14:13 extjs_5.1.1.js

Test when the plugins have to copy the configurations into the !definitions themselves

We may have the opportunity to reduce a bit the size (without !define, the file size is 2.6M, so that's the lowest size we could hypothetically get). Not sure whether it is worth. Thoughts?

Florent

fflorent commented 8 years ago

I propose to close the issue. I think the size is reasonable enough now.

Florent