Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const finalConfig = {
in: './src/cloudConsole/cloudShellChildProcess/cloudConsoleLauncher.ts',
out: 'cloudConsoleLauncher',
},
{
in: './src/chat/mcpApps/languagePickerServer.ts',
out: 'languagePickerServer',
},
],
// Disable code splitting to avoid VS Code extension loading issues (see #1352)
splitting: false,
Expand All @@ -29,6 +33,14 @@ const finalConfig = {
from: './node_modules/@microsoft/vscode-azext-azureutils/resources/azureIcons/*.svg',
to: './node_modules/@microsoft/vscode-azext-azureutils/resources/azureIcons',
},
{
from: './src/chat/mcpApps/languagePickerApp.html',
to: '.',
},
{
from: './src/chat/mcpApps/nextStepsApp.html',
to: '.',
Comment on lines +38 to +42
Copy link

Copilot AI Apr 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The copy step writes the MCP app HTML files to . (repo root). At runtime languagePickerServer.js resolves HTML via path.join(__dirname, ...) (i.e., the dist/ folder), so the server will throw ENOENT on startup unless the HTML is copied into dist/ (or the server path is updated accordingly).

Suggested change
to: '.',
},
{
from: './src/chat/mcpApps/nextStepsApp.html',
to: '.',
to: extensionConfig.outdir,
},
{
from: './src/chat/mcpApps/nextStepsApp.html',
to: extensionConfig.outdir,

Copilot uses AI. Check for mistakes.
},
],
}),
],
Expand Down
Loading
Loading