@s524797336/node-bindings-loader
v1.0.0
Published
Package to resolve the [node-bindings](https://github.com/TooTallNate/node-bindings) pattern with the compiled bindings at compile time.
Downloads
2
Readme
Node-bindings-loader module
Package to resolve the node-bindings pattern with the compiled bindings at compile time.
To be used in combo with loaders like native-ext-loader
Installation
npm install --save-dev node-bindings-loader
Usage
Update rules entry in the Webpack configuration file:
module: {
rules: [{
test: /\.js$/,
loader: "node-bindings-loader"
}];
}
License
Author
Alessio Paccoia <[email protected]>