Skip to content

Commit 72e50d5

Browse files
add items to the unbundled module
1 parent 943196e commit 72e50d5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ 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+
'usb-detection', '@serialport', 'bindings', 'serialport', 'debug', 'ms', 'node-gyp-build', 'node-addon-api'];
1616

1717
for (const mod of unbundledModule) {
1818
const p = 'node_modules/' + mod;

0 commit comments

Comments
 (0)