diff --git a/extensions/shared.webpack.config.js b/extensions/shared.webpack.config.js index b5f908d0c7e..ff8ee7e2775 100644 --- a/extensions/shared.webpack.config.js +++ b/extensions/shared.webpack.config.js @@ -57,7 +57,9 @@ function withNodeDefaults(/**@type WebpackConfig*/extConfig) { }] }, externals: { - 'vscode': 'commonjs vscode', // ignored because it doesn't exist + 'vscode': 'commonjs vscode', // ignored because it doesn't exist, + 'applicationinsights-native-metrics': 'commonjs applicationinsights-native-metrics', // ignored because we don't ship native module + '@opentelemetry/tracing': 'commonjs @opentelemetry/tracing' // ignored because we don't ship this module }, output: { // all output goes into `dist`. @@ -112,7 +114,9 @@ function withBrowserDefaults(/**@type WebpackConfig*/extConfig) { }] }, externals: { - 'vscode': 'commonjs vscode', // ignored because it doesn't exist + 'vscode': 'commonjs vscode', // ignored because it doesn't exist, + 'applicationinsights-native-metrics': 'commonjs applicationinsights-native-metrics', // ignored because we don't ship native module + '@opentelemetry/tracing': 'commonjs @opentelemetry/tracing' // ignored because we don't ship this module }, performance: { hints: false