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

Optimize minifier #6950

Closed
timneutkens opened this issue Apr 8, 2019 · 3 comments
Closed

Optimize minifier #6950

timneutkens opened this issue Apr 8, 2019 · 3 comments
Assignees
Milestone

Comments

@timneutkens
Copy link
Member

Currently more than half of the next build time is spent in running minification (Terser).

@developit has some ideas on how to optimize this.

timneutkens added a commit that referenced this issue Apr 8, 2019
Checking the stats first. But at least until #6950 is figured out we should disable it for serverless builds as it's also disabled for zeit.co serverless builds.
@timneutkens timneutkens added this to the 9.0.x milestone Aug 10, 2019
@Timer Timer modified the milestones: 9.0.x, backlog Aug 30, 2019
@imedadel
Copy link

I tried using ESBuild for minification only instead of Terser but you seem to be compiling packages before using them? So, I couldn't configure it with Next.js.

Would you like to try ESBuild?

@timneutkens
Copy link
Member Author

Would you like to try ESBuild?

When it compresses in a similar ballpark to Terser we'd be happy to investigate adding it.

I'm going to close this issue for now given that we're working on webpack 5 support which has stable build output that can be reliably cached: #13341 this will allow us to avoid most of the work that was previously done on every build.

@Timer Timer modified the milestones: backlog, iteration 8 Aug 24, 2020
@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants