node-wmi icon indicating copy to clipboard operation
node-wmi copied to clipboard

Depending on package.json for initializing `debug` instances breaks production bundles

Open Galkon opened this issue 5 years ago • 0 comments

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

Galkon avatar Dec 12 '20 19:12 Galkon