-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Strip tests, examples, and tgzs from distribution #1347
base: master
Are you sure you want to change the base?
Conversation
+1 |
bafd424
to
c5b84a9
Compare
c5b84a9
to
cd09468
Compare
@jtary @anthonyettinger here's some low hanging fruit..
Probably don't need to ship all the themes! |
ed8e298
to
af0a5ec
Compare
The published tarball for strong-arc-1.8.7 is 10M. So far this PR brings it down to 7.8M. |
Down to 7.1M by stripping tests from vendored modules. |
Trims about 1MB off the size of strong-arc-*.tgz, bringing it back down to just below 10MB. Strip unused jQueryUI themes cuts 4MB from unpacked size. Strip unprocessed source for jQuery and moment, which are only used for rebuilding the distributed versions of those modules. Strip tests from vendored modules, including sub-tests for Angular directives.
af0a5ec
to
514914c
Compare
Down to 6.8M by more accurately stripping the vendored tests. Experimenting with some overly broad exclusions, I'm fairly confident that @jtary and @anthonyettinger could take this as a starting point and get the final tarball down to 6M or less by sorting out the use of minified vs. non-minified vendored scripts. |
Trims about 1MB off the size of strong-arc-*.tgz, bringing it back
down to just below 10MB:
TODO: