diff --git a/webpack.config.js b/webpack.config.js index 64cbd8a8..ba47899d 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -12,7 +12,9 @@ function getEntry() { const mod = JSON.parse(npmListRes); const unbundledModule = ['impor', 'uuid', // usb-native modules can not be bundled - 'usb-detection', '@serialport', 'bindings', 'serialport']; + // added debug, ms, node-gyp-build, and node-addon-api as a workaround a break in packaging + // that caused the extension to not work. + 'usb-detection', '@serialport', 'bindings', 'serialport', 'debug', 'ms', 'node-gyp-build', 'node-addon-api']; for (const mod of unbundledModule) { const p = 'node_modules/' + mod;