builtins
config.builtins
{Boolean}
Used to configure whether Node builtins modules are automatically loaded. If you (or a dependency) has code that does:
{Boolean}
Used to configure whether Node builtins modules are automatically loaded. If you (or a dependency) has code that does:
The module events is a Node builtin module.
Use
By default Steal will load shims for the Node builtins modules (some of which work fine in the browser). If you'd like to disable this behavior (because you'd like to
http
to refer to local code, for example, you can disable withbuiltins: false
: