Skip to content
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

Meta: Update to parcel v2 #113

Merged
merged 5 commits into from
Jan 21, 2021
Merged

Meta: Update to parcel v2 #113

merged 5 commits into from
Jan 21, 2021

Conversation

fregante
Copy link
Collaborator

Depends on parcel-bundler/parcel#5304

 parcel-pr-5304-cli build source/manifest.json --no-minify
 Built in 7.53s

dist/manifest.json                                   782 B    241ms
dist/github-notifications-preview.9b915661.css     4.39 KB    1.01s
dist/options-storage.js                           40.23 KB    1.02s
dist/github-notifications-preview.js              22.76 KB    1.02s
dist/icon-128.6d4f4520.png                         1.26 KB    310ms
dist/options.html                                    864 B    912ms
dist/options.34975271.css                          1.69 KB    874ms
dist/options.3ed58f63.js                             141 B    880ms

@fregante

This comment has been minimized.

@fregante fregante marked this pull request as ready for review January 21, 2021 01:46
@fregante fregante added the meta label Jan 21, 2021
@fregante
Copy link
Collaborator Author

fregante commented Jan 21, 2021

Parcel v1

  Built in 3.99s.

dist/options-storage.js                  31.32 KB    2.73s
dist/github-notifications-preview.js     24.45 KB    2.81s
dist/github-notifications-preview.css      4.6 KB    2.66s
dist/webext-base.f655f105.css             1.73 KB    2.03s
dist/options.7075c809.js                  1.53 KB    2.03s
dist/icon-128.png                         1.26 KB    1.50s
dist/options.html                           868 B    1.61s
dist/manifest.json                          745 B    2.00s
Successfully compiled 7 files with Babel (908ms).

Parcel v2

 Built in 2.13s

dist/manifest.json                          751 B     98ms
dist/github-notifications-preview.css      4.6 KB    214ms
dist/options-storage.js                  33.49 KB    216ms
dist/github-notifications-preview.js     29.35 KB    215ms
dist/icon-128.png                         1.26 KB    114ms
dist/options.html                           864 B    137ms
dist/options.eba36657.css                 2.17 KB    137ms
dist/options.94a4dc9c.js                     64 B    138ms
Successfully compiled 6 files with Babel (734ms).

Glad to see some savings, especially glad to see parcelRequire junk disappearing from options.js (1.53 KB -> 64 B)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant