webpack/lib/node
Anna Henningsen e4375f8833
Avoid relying on Node’s internals
`process.binding()` is not a public API, and should
not be used.

Luckily, Node recently introduced an API that does
exactly what Webpack needs:
https://nodejs.org/api/modules.html#modules_module_builtinmodules

So use that instead and keep the old path as a fallback.
2018-01-27 22:10:36 +01:00
..
NodeChunkTemplatePlugin.js refactor(plugins): upgrade to ES6 NodeChunkTemplatePlugin & NodeTemplatePlugin (#3792) 2017-01-07 10:06:08 -06:00
NodeEnvironmentPlugin.js refactor(ES6): upgrade NodeEnvironmentPlugin to ES6 (#3796) 2017-01-05 23:02:52 -06:00
NodeHotUpdateChunkTemplatePlugin.js refactor(ES6): upgrade NodeHotUpdateChunkTemplatePlugin to ES6 (#3795) 2017-01-07 22:07:59 -06:00
NodeMainTemplate.runtime.js refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot (#3636) 2016-12-30 09:43:49 -06:00
NodeMainTemplateAsync.runtime.js refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot (#3636) 2016-12-30 09:43:49 -06:00
NodeMainTemplatePlugin.js Refactor: remove unnecessary quote escaping 2017-06-20 10:05:55 +09:00
NodeOutputFileSystem.js refactor(NodeOutputFileSystem): upgrade to ES6 2017-01-27 10:04:02 +11:00
NodeSourcePlugin.js Support turn off NodeSourcePlugin with false option 2017-06-02 23:04:23 -07:00
NodeTargetPlugin.js Avoid relying on Node’s internals 2018-01-27 22:10:36 +01:00
NodeTemplatePlugin.js refactor(plugins): upgrade to ES6 NodeChunkTemplatePlugin & NodeTemplatePlugin (#3792) 2017-01-07 10:06:08 -06:00
NodeWatchFileSystem.js missing dependencies could be files too 2017-07-15 10:27:01 +02:00