mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-03 09:50:40 -07:00
fix(build): wire bundle:browser-mcp into bundle pipeline (#24424)
This commit is contained in:
@@ -98,9 +98,14 @@ if (existsSync(devtoolsDistSrc)) {
|
||||
// 6. Copy bundled chrome-devtools-mcp
|
||||
const bundleMcpSrc = join(root, 'packages/core/dist/bundled');
|
||||
const bundleMcpDest = join(bundleDir, 'bundled');
|
||||
if (existsSync(bundleMcpSrc)) {
|
||||
cpSync(bundleMcpSrc, bundleMcpDest, { recursive: true, dereference: true });
|
||||
console.log('Copied bundled chrome-devtools-mcp to bundle/bundled/');
|
||||
if (!existsSync(bundleMcpSrc)) {
|
||||
console.error(
|
||||
`Error: chrome-devtools-mcp bundle not found at ${bundleMcpSrc}.\n` +
|
||||
`Run "npm run bundle:browser-mcp -w @google/gemini-cli-core" first.`,
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
cpSync(bundleMcpSrc, bundleMcpDest, { recursive: true, dereference: true });
|
||||
console.log('Copied bundled chrome-devtools-mcp to bundle/bundled/');
|
||||
|
||||
console.log('Assets copied to bundle/');
|
||||
|
||||
Reference in New Issue
Block a user