esbuild-native-node-modules-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

esbuild-native-node-modules-plugin

A plugin for esbuild to load native node modules, node-loader for esbuld, support .node file modules.

install

npm install --save-dev esbuild-native-node-modules-plugin

usage

// esbuild config options
const  { nativeNodeModulesPlugin }  = require("esbuild-native-node-modules-plugin");

modules.export = {
    ...
    plugins: [
        ...
        nativeNodeModulesPlugin,
        ...
    ],
    
}

Package Sidebar

Install

npm i esbuild-native-node-modules-plugin

Weekly Downloads

753

Version

1.0.3

License

MIT

Unpacked Size

2.6 kB

Total Files

3

Last publish

Collaborators

  • ouxuwen