Skip to content
This repository was archived by the owner on Feb 17, 2020. It is now read-only.

[S] Bundle with Parcel#51

Open
jamwaffles wants to merge 7 commits into
masterfrom
support/bundle
Open

[S] Bundle with Parcel#51
jamwaffles wants to merge 7 commits into
masterfrom
support/bundle

Conversation

@jamwaffles
Copy link
Copy Markdown
Contributor

Reduces 50MB of node_modules dependencies down to a single ~500KB file.

$ yarn parcel
yarn run v1.13.0
$ parcel build src/index.ts --target node --bundle-node-modules --detailed-report --experimental-scope-hoisting
✨  Built in 11.61s.

dist/index.js                                                                    524.8 KB    11.52s
├── node_modules/amqplib/lib/defs.js                                             85.59 KB     2.82s
├── node_modules/rxjs/operators.js                                                16.1 KB     641ms
├── node_modules/bluebird/js/release/promise.js                                     13 KB     1.15s
├── node_modules/bluebird/js/release/debuggability.js                             12.6 KB     1.81s
├── node_modules/funfix-effect/dist/io.js                                        12.19 KB     1.32s
├── node_modules/rxjs/Rx.js                                                      11.68 KB     334ms
├── node_modules/ramda/index.js                                                  11.42 KB     197ms
├── node_modules/amqplib/node_modules/readable-stream/lib/_stream_readable.js    11.19 KB     567ms
├── node_modules/buffer-more-ints/buffer-more-ints.js                            10.86 KB     671ms
├── node_modules/amqplib/lib/connection.js                                       10.04 KB     1.08s
└── + 870 more assets
Done in 12.87s.

@jamwaffles jamwaffles added the wip Work in progress label Feb 17, 2019
@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 17, 2019

Codecov Report

Merging #51 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #51   +/-   ##
=======================================
  Coverage   53.69%   53.69%           
=======================================
  Files           9        9           
  Lines         257      257           
  Branches       37       37           
=======================================
  Hits          138      138           
  Misses        110      110           
  Partials        9        9

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 708adb3...560afe5. Read the comment docs.

@jamwaffles jamwaffles force-pushed the support/bundle branch 2 times, most recently from 5f01fd8 to 560afe5 Compare February 18, 2019 09:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

wip Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants