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

Fail production build quickly #13496

Merged
merged 3 commits into from
May 28, 2020
Merged

Conversation

Timer
Copy link
Member

@Timer Timer commented May 28, 2020

By default, webpack will proceed to run loaders and plugins on all files, even after an error has been encountered during the build process.

This means you might need to wait minutes to see a syntax error encountered in one of your source files. This PR fixes that.

@Timer Timer added this to the 9.4.5 milestone May 28, 2020
@Timer Timer requested review from ijjk, lfades and timneutkens as code owners May 28, 2020 13:32
@kodiakhq kodiakhq bot merged commit c64cb60 into vercel:canary May 28, 2020
@Timer Timer deleted the hotfix/fast-build-failures branch May 28, 2020 22:52
rokinsky pushed a commit to rokinsky/next.js that referenced this pull request Jul 11, 2020
By default, webpack will proceed to run loaders and plugins on all files, even after an error has been encountered during the build process.

This means you might need to wait minutes to see a syntax error encountered in one of your source files. This PR fixes that.
@vercel vercel locked as resolved and limited conversation to collaborators Jan 30, 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

Successfully merging this pull request may close these issues.

2 participants