Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b93ca1e

Browse files
Merge pull request microsoft#1501 from microsoft/dev/gcampbell/FixPacking
Add items to the unbundled module to fix webpacking
2 parents 943196e + c4259b1 commit b93ca1e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

webpack.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ function getEntry() {
1212
const mod = JSON.parse(npmListRes);
1313
const unbundledModule = ['impor', 'uuid',
1414
// usb-native modules can not be bundled
15-
'usb-detection', '@serialport', 'bindings', 'serialport'];
15+
// added debug, ms, node-gyp-build, and node-addon-api as a workaround a break in packaging
16+
// that caused the extension to not work.
17+
'usb-detection', '@serialport', 'bindings', 'serialport', 'debug', 'ms', 'node-gyp-build', 'node-addon-api'];
1618

1719
for (const mod of unbundledModule) {
1820
const p = 'node_modules/' + mod;

0 commit comments

Comments
 (0)