Package Exports
- node-preload
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-preload) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-preload
Request that Node.js child processes preload modules
Install node-preload
This module requires node.js 8 or above.
npm i node-preload
Usage
'use strict';
const preloadList = require('node-preload');
// Request that all Node.js child processes preload @babel/register
preloadList.push(require.resolve('@babel/register'));
Limitations
Worker threads are not directly supported by this module, results may vary.
node-preload
for enterprise
Available as part of the Tidelift Subscription.
The maintainers of node-preload
and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.