-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Option 'bail' causes failed build #11594
Comments
|
@evilebottnawi, please, look carefully |
Oh, I was wrong here, it is bug on |
From my test: WARNING in ./test.js 4:18-53
Module not found: Error: Can't resolve '../../../../package.json' in '/home/user/path/to/package' # echo $?
0 |
@evilebottnawi I've created a test repo to show this issue and the difference between webpack4 and webpack5 |
This comment has been minimized.
This comment has been minimized.
this bug describes only bundle-time case. |
This issue had no activity for at least three months. It's subject to automatic issue closing if there is no activity in the next 15 days. |
bump |
Issue was closed because of inactivity. If you think this is still a valid issue, please file a new issue with additional information. |
Bug report
What is the current behavior?
Setting option bail to true will break the build for unresolved modules wrapped in try...catch
After setting bail to false bundle builds successfully
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
There is should be only a warning about the unresolved module, bundle should be built successfully.
Other relevant information:
webpack version: 5.0.0-rc.3
Node.js version: 12.18.4
The text was updated successfully, but these errors were encountered: