提交 9fa49ba9 编写于 作者: S SteVen Batten

ignore optional dependencies when webpacking

上级 7a8b665f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册