node-wmi
node-wmi copied to clipboard
Depending on package.json for initializing `debug` instances breaks production bundles
In Query.js, this package relies on package.json to exist in order to name the debug instances. This is silly, and breaks when the package is bundled into a production application, resulting in the entire node-wmi package (and all of it's dependencies) to be excluded from the bundling process.
Simply hardcoding these as node-wmi:Query resolves it. PR for fix found here: #16