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

perf: add some extra config to improve bundle size #75

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tbor00
Copy link
Member

@tbor00 tbor00 commented Apr 20, 2023

Summary

In this pr you can see the next things:

  • Add extra configuration of terser to improve bundle size and performance
  • Add cssnano on to compress more tailwind css file
  • Add threeShake and cache properties on rollup
  • Remove some unused deps
  • Reorder imports to improve visibility of the scripts

Task

Not yet

How did you test this change?

  • All builds was passed ✅
  • With the bundle analyzer ✅
  • All tests was passed ✅

@tbor00 tbor00 added the performance All things related with the performance of bundle size of the package label Apr 20, 2023
@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 20, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit cf8d9c8:

Sandbox Source
Vanilla Configuration
React Configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance All things related with the performance of bundle size of the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants