bundle node_modules and (shallow) exclude them from the extension #56081

This commit is contained in:
Johannes Rieken
2018-08-22 11:35:27 +02:00
parent 34f629f7d9
commit ffe5da332d
5 changed files with 13 additions and 14 deletions

View File

@@ -46,6 +46,9 @@ module.exports = function withDefaults(/**@type WebpackConfig*/extConfig) {
},
externals: {
'vscode': 'commonjs vscode', // ignored because it doesn't exist
"vscode-extension-telemetry": 'commonjs vscode-extension-telemetry', // commonly used
"vscode-nls": 'commonjs vscode-nls',
},
output: {
// all output goes into `dist`.