-
Notifications
You must be signed in to change notification settings - Fork 415
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
Tree Shaking [1000 USDC Reward!] #2566
Comments
for some reason I couldn't build the project @MaxMillington here is a screenshot I dont know if I am doing something wrong |
@isreallee82 give it another try. should be able to build and run from stage branch |
yes thanks @MaxMillington I guess there was an issue with my enviroment worked on codespace |
Hi! Analyzing the Next.js application's performance and bundle size, I've identified a critical aspect that seems to heavily influence the initial load and bundle size. Upon reviewing the application's loading metrics, I've noticed a significant portion of the bundle size attributed to the Considering the statistics below:
The Before proceeding further with this approach, I wanted to seek confirmation if such solution would be considered as enough to solve the bounty. Thank you, Brian. |
Hi Brian! Apologies for the slow reply, we were out last week! Your approach is reasonable. We are aiming to reduce the bundle size by at least 30% |
Is this issue still open? @MaxMillington |
@Nightrider0098 Yes. |
Will try to work on this. And try to remove or load library dynamically. |
@Nightrider0098 yes, one strategy would to be replace some of these with our own smaller bundles |
What is the expected size for the final initial-load file? |
@Nightrider0098 we are aiming to reduce the bundle size by at least 30% |
We believe tree shaking is now working from server and stores package |
π Bug Bounty: Tree Shaking Optimization Needed! π οΈ
Reward: π 1000 USDC π
We are thrilled to announce a special bug bounty for proficient third-party developers! This is an opportunity to showcase your expertise, make a significant impact, and earn a substantial reward.
Issue Description π
Inefficient Tree Shaking in Next.js Application
Current Behavior β
Our Next.js application is currently importing libraries that are not in use due to ineffective tree shaking. This results in an unnecessarily large bundle size, affecting performance and efficiency.
Expected Behavior π‘
Implement an optimized tree shaking process to ensure only the necessary libraries are included in the final bundle. The goal is to significantly reduce the bundle size without compromising functionality.
Requirements for the Bounty π
Submit a pull request with a verified solution to optimize tree shaking.
Demonstrate a measurable decrease in the bundle size as a result of your optimization.
Ensure the fix does not introduce any new bugs or vulnerabilities.
Adhere to our project's coding style and contribution guidelines.
Your solution will undergo a thorough review by our team, and the bounty will be awarded upon approval.
How to Claim Your Bounty π°
Fork our repository.
Create a new branch dedicated to your optimization fix.
Submit a pull request to our main branch with comprehensive details of your optimization strategy and evidence of the reduced bundle size.
Upon review and approval, the 1000 USDC will be transferred to your wallet.
Please Note: All bounty claimants must undergo a KYC (Know Your Customer) process with our finance team to receive the reward. This is a mandatory step to ensure compliance with financial regulations.
We eagerly await your innovative solutions and thank you for contributing to the efficiency and performance of our project!
The text was updated successfully, but these errors were encountered: