Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 322cad4

Browse files
update webpack
1 parent d0ed466 commit 322cad4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

webpack.config.js

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

1918
for (const mod of unbundledModule) {
2019
const p = 'node_modules/' + mod;
@@ -64,7 +63,6 @@ const config = {
6463
},
6564
externals: {
6665
vscode: "commonjs vscode",
67-
serialport: "serialport"
6866
},
6967
resolve: {
7068
extensions: ['.js', '.json']

0 commit comments

Comments
 (0)