Commit Graph

20 Commits

Author SHA1 Message Date
Mark Molinaro ecf87288d5 perf: Remove Error.captureStackTrace from all WebpackErrors 2021-06-07 07:15:28 +00:00
Hornwitser 1acb9964ec Improve suggested Node.js polyfill config
Resolve fallback to an absolute path in the suggested config for the
Node.js polyfill.  This is necessary in setups where where packages that
use the Node.js module are symlinked outside the package directory and
fail to resolve the fallback as a result.

A trailing slash is also necessary for packages that are shadowed by
builtin modules, i.e.: require.resolve("events") returns "events" while
require.resolve("events/") returns the path to the polyfill.
2020-10-07 22:52:46 +02:00
Tobias Koppers aadc15e740 update enhanced-resolve for
- imports field support
- resolve.fallback option

recommend resolve.fallback for polyfills
2020-09-16 07:28:32 +02:00
Ivan Kopeykin 4fc44a3398 add more types 2020-08-02 23:47:54 +03:00
Raphael Krut-Landau 7d951f0dbb
Typo
Perhaps this would be even clearer: "webpack no longer includes polyfills for node.js core modules by default. If you need this module, configure a polyfill for it."
2020-07-12 14:07:56 -04:00
Tobias Koppers c94073b31c update enhanced-resolve 2019-07-05 00:45:41 +02:00
Florent Cailhol a68426e925 Add error message 2018-12-07 08:58:55 +01:00
Florent Cailhol be8c6bbe71 Add types on module files 2018-11-07 14:03:25 +01:00
Tobias Koppers 3c244d9fc9 Optimize error origin handling and module trace
Improve warnings and errors sorting
2018-09-12 13:16:59 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers 53103a9690 Cleanup error location and origin information 2018-06-04 10:35:46 +02:00
Jarid Margolin 70e48d2c31 Create base WebpackError class with inspect method. 2017-04-03 10:42:53 -04:00
Jeff Escalante ff96f7188a fix more stack trace captures, remove conditional detection 2017-02-15 14:55:54 -05:00
Tobias Koppers 49579d60d7 remove log statement 2017-02-03 14:09:19 +01:00
Carlos Cuatin 13295cdb68 refactor(es6) upgrade ModuleNotFoundError to ES6 class 2017-01-18 15:38:55 -05:00
Tobias Koppers 1ee3585fa1 compilation error don't affect parent module
recover after syntax error
assume es6 module on syntax error

#2117
2016-07-03 13:13:01 +02:00
e-cloud 13322ca35c add missing constructors for all classes needed
As i walk through the source, i've tried to trace the webpack running stack.
Then, i find the missing constructors result in uncleasr stack and create a patch
for them.
2016-05-20 13:39:36 +08:00
Tobias Koppers adfcfce15f watching of missing files, fixed #668
store missing files from errors for missingDependencies
make the new watching plugins default
added OldWatchingPlugin
2015-01-17 21:55:44 +01:00
Tobias Koppers b6a1c40545 show error details 2014-01-21 16:24:17 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00