Skip to content

Decrease package size #169

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

Merged
merged 11 commits into from
Sep 6, 2024
Merged

Decrease package size #169

merged 11 commits into from
Sep 6, 2024

Conversation

cezaraugusto
Copy link
Member

No description provided.

This is not needed to run Vue according
to package README

-Size: 11.05mb
We replaced Babel with SWC but Babel is
one of the largest dependencies in the project,
so we better remove it.

babel-preset-modern-browser-extension
- Size: 26.03mb

@babel/core
- Size: 11.23mb

babel-loader
- Size: 1.5mb

Total: 38.31mb
Tailwind is a dependency required by users,
so it should be resolved by the user's project.

tailwindcss
- Size: 15mb
stylelint
- Size: 8.15mb

stylelint-webpack-plugin
- Size: 7.22mb

stylelint-config-standard-scss
- Size: 2.5mb

Total: 17.87mb
SASS is required by the user extension already.

sass
- Size: 6.29mb
LESS is required by the user extension already.

less
- Size: 4.57mb
Not used anymore

browser-extension-manifest-fields
Size: 4.64mb
Copy link

pkg-pr-new bot commented Sep 6, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/extension-js/extension.js/extension@169
pnpm add https://pkg.pr.new/extension-js/extension.js/extension-create@169
pnpm add https://pkg.pr.new/extension-js/extension.js/extension-develop@169

commit: bc93104

Copy link

pkg-pr-new bot commented Sep 6, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/extension-js/extension.js/extension@169
pnpm add https://pkg.pr.new/extension-js/extension.js/extension-create@169
pnpm add https://pkg.pr.new/extension-js/extension.js/extension-develop@169

commit: 8713840

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

Attention: Patch coverage is 14.28571% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
programs/develop/webpack/lib/utils.ts 14.28% 6 Missing ⚠️
Files with missing lines Coverage Δ
programs/develop/webpack/lib/utils.ts 67.40% <14.28%> (-0.51%) ⬇️

@cezaraugusto cezaraugusto marked this pull request as ready for review September 6, 2024 14:15
@cezaraugusto cezaraugusto merged commit d9362e1 into main Sep 6, 2024
13 of 14 checks passed
@cezaraugusto cezaraugusto deleted the perf-package-size branch September 6, 2024 14:36
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