fix webpack warning (#139)
Signed-off-by: Yan Zhang <yanzh@microsoft.com>
This commit is contained in:
Родитель
a2f877ce4a
Коммит
267ce79629
|
@ -148,7 +148,7 @@ async function specifyPackaging(): Promise<string> {
|
|||
}
|
||||
|
||||
async function specifyBootVersion(manager: ServiceManager): Promise<string> {
|
||||
const bootVersion: { value: IValue, label: string } = await vscode.window.showQuickPick(
|
||||
const bootVersion: { value: IValue, label: string } = await vscode.window.showQuickPick<{ value: IValue, label: string }>(
|
||||
// @ts-ignore
|
||||
manager.getBootVersions().then(versions => versions.map(v => ({ value: v, label: v.name }))),
|
||||
{ ignoreFocusOut: true, placeHolder: "Specify Spring Boot version." }
|
||||
|
|
|
@ -21,6 +21,8 @@ const config = {
|
|||
},
|
||||
externals: {
|
||||
vscode: "commonjs vscode", // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
|
||||
'applicationinsights-native-metrics': 'commonjs applicationinsights-native-metrics', // ignored because we don't ship native module
|
||||
'@opentelemetry/tracing': 'commonjs @opentelemetry/tracing'
|
||||
},
|
||||
devtool: 'source-map',
|
||||
resolve: { // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
|
||||
|
|
Загрузка…
Ссылка в новой задаче