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

chore: Reduce package size by 70%, 1.92 MB to 590 kB #190

Merged
merged 5 commits into from
Oct 30, 2023

Conversation

aklinker1
Copy link
Collaborator

@aklinker1 aklinker1 commented Oct 30, 2023

Reduce unpacked size from 1.93 MB to 592.79 kB (30% what it used to be). Done by:

  1. Combining builds to share chunks when possible
  2. Removing unnecessary CJS outputs
  3. Disabling sourcemaps

This should speed up installs and wxt init execution time.

@netlify
Copy link

netlify bot commented Oct 30, 2023

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit 36d9c89
🔍 Latest deploy log https://app.netlify.com/sites/creative-fairy-df92c4/deploys/653f27525f7d260008ca1104
😎 Deploy Preview https://deploy-preview-190--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #190 (36d9c89) into main (ea8935c) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
+ Coverage   63.26%   63.29%   +0.02%     
==========================================
  Files          71       71              
  Lines        5652     5656       +4     
  Branches      454      454              
==========================================
+ Hits         3576     3580       +4     
  Misses       2040     2040              
  Partials       36       36              
Files Coverage Δ
src/core/utils/log/printFileList.ts 38.18% <100.00%> (+4.84%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@aklinker1 aklinker1 marked this pull request as ready for review October 30, 2023 03:53
@aklinker1 aklinker1 changed the title chore: Simplify build config and reduce package size chore: Reduce package size by 70% (1.92 MB to 590 kB) Oct 30, 2023
@aklinker1 aklinker1 changed the title chore: Reduce package size by 70% (1.92 MB to 590 kB) chore: Reduce package size by 70%, 1.92 MB to 590 kB Oct 30, 2023
@aklinker1 aklinker1 self-assigned this Oct 30, 2023
@aklinker1 aklinker1 merged commit 5f54b4d into main Oct 30, 2023
9 checks passed
@aklinker1 aklinker1 deleted the simplify-build-config branch October 30, 2023 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant