Skip to content

Commit 3c8ce2d

Browse files
zyzyzyryxyPiotr Paulski
andauthored
chore: Remove file unused after bundling from published package (#785)
build/src/third_party/devtools.js is only used during bundling, but we publish it unnecessarily. We should remove it to not cause confusion and slightly decrease package size. Co-authored-by: Piotr Paulski <[email protected]>
1 parent 9b21f8b commit 3c8ce2d

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

src/DevtoolsUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ DevTools.Formatter.FormatterWorkerPool.FormatterWorkerPool.instance({
146146

147147
export interface TargetUniverse {
148148
/** The DevTools target corresponding to the puppeteer Page */
149-
target: DevTools.SDKTarget;
149+
target: DevTools.Target;
150150
universe: DevTools.Foundation.Universe.Universe;
151151
}
152152
export type TargetUniverseFactoryFn = (page: Page) => Promise<TargetUniverse>;

src/third_party/devtools.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/third_party/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ export {
3636
type ChromeReleaseChannel as BrowsersChromeReleaseChannel,
3737
} from '@puppeteer/browsers';
3838

39-
export * as DevTools from './devtools.js';
39+
export * as DevTools from '../../node_modules/chrome-devtools-frontend/mcp/mcp.js';

0 commit comments

Comments
 (0)