mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
bundle node_modules and (shallow) exclude them from the extension #56081
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user