Commit Graph

2 Commits

Author SHA1 Message Date
Anders Kaseorg
d5d6e43453 debug-require: Throw errors for unknown and unloaded modules.
Signed-off-by: Anders Kaseorg <[email protected]>
2020-07-29 11:17:24 -07:00
Anders Kaseorg
b474fa0e37 webpack: Generalize debug-require-webpack-plugin interface.
Now the caller simply imports the debug ‘require’ function as a
module, deciding for itself how to expose it and with what name (in
our case, we expose it as ‘require’ with expose-loader).  Also, remove
a stray console.log.

Signed-off-by: Anders Kaseorg <[email protected]>
2020-02-25 14:01:06 -08:00