Some modules like node-hid use pkg-prebuilds to load their native module. Such loads are apparently not recognised by webpack-asset-relocator-loader.
Would it be possible to add support for those loads?
Here's an example of how the native module is loaded in node-hid:
binding = require("pkg-prebuilds/bindings")(__dirname, options);
The name of the module itself is provided in options.name.
Thanks!
Some modules like node-hid use pkg-prebuilds to load their native module. Such loads are apparently not recognised by webpack-asset-relocator-loader.
Would it be possible to add support for those loads?
Here's an example of how the native module is loaded in node-hid:
The name of the module itself is provided in
options.name.Thanks!