Try moving keytar to externals

This attempts to fix an extension compile error introduced with 3d933fb742

The issue is that keytar loads a `.node` file, which webpack is not able to understand
This commit is contained in:
Matt Bierner
2020-01-15 23:34:48 -08:00
parent 2600760532
commit 30f2cec795

View File

@@ -16,5 +16,8 @@ module.exports = withDefaults({
},
entry: {
extension: './src/extension.ts',
}
},
externals: {
'keytar': 'commonjs keytar',
},
});