Commit Graph

27 Commits

Author SHA1 Message Date
alexander.akait 02590bfdc7 chore: improve types 2023-04-21 19:22:33 +03:00
Mark Molinaro ecf87288d5 perf: Remove Error.captureStackTrace from all WebpackErrors 2021-06-07 07:15:28 +00:00
Ivan Kopeykin 4fc44a3398 add more types 2020-08-02 23:47:54 +03:00
Florent Cailhol be8c6bbe71 Add types on module files 2018-11-07 14:03:25 +01:00
Tobias Koppers 4174521f9d remove unnecessary module arguments from module attached errors 2018-10-29 22:18:08 +01:00
Tobias Koppers 6a8e201521 fixup WebpackErrors 2018-10-25 10:52:28 +02:00
Michael Ciniawsky 62d4ede848 make WebpackErrors serializable 2018-10-25 10:48:39 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers c77030573d multi line message when "from" is set 2018-06-05 10:43:10 +02:00
Tobias Koppers 9fbe914078 Merge branch 'master' into feature/module-build-error-with-loader-name
# Conflicts:
#	lib/ModuleBuildError.js
#	lib/ModuleError.js
#	lib/ModuleWarning.js
2018-06-05 10:23:00 +02:00
Tobias Koppers 53103a9690 Cleanup error location and origin information 2018-06-04 10:35:46 +02:00
mc-zone 8060ec6a24 Merge branch 'master' into feature/module-build-error-with-loader-name 2018-04-29 16:57:05 +08:00
mc-zone 77b9ef571b add default value to binding element 2018-04-29 15:44:38 +08:00
Florent Cailhol 3983803d30 Destructure 'require' to improve readability 2018-03-22 12:05:58 +01:00
mc-zone 9c13d51141 improve message format; prevent destructure crash; improve tests; 2018-03-18 22:56:36 +08:00
mc-zone 36303a0ae8 merge from master 2018-03-02 17:56:34 +08:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
mc-zone d045d57e1f falsy checking; improve tests; fix typo 2018-02-22 22:28:54 +08:00
mc-zone 16c1f9e42c (from xxx) => (@ xxx); fix test 2018-02-22 08:50:47 +08:00
mc-zone d0a6e8136b pass `from`(error's source) through constructors. 2018-02-22 01:00:20 +08:00
mc-zone c9011fe771 add loader name to error.from and display it in error message 2018-02-21 17:42:03 +08:00
Jarid Margolin 70e48d2c31 Create base WebpackError class with inspect method. 2017-04-03 10:42:53 -04:00
Tobias Koppers 751fd9bbc4 add stack to non-Error error emitted
add info about emitting an Error

#4518
2017-03-22 13:29:40 +01:00
Jeff Escalante ff96f7188a fix more stack trace captures, remove conditional detection 2017-02-15 14:55:54 -05:00
Will Mendes 0f444e8530 refactor(ModuleWarning): upgrade to ES6 2017-01-09 17:15:18 +11: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 fecf07dd1f integrated new enhanced-resolve version 2016-01-03 21:42:56 +01:00