Skip to content

Commit 92a7d4e

Browse files
committed
fix: 入口
1 parent b96f7b4 commit 92a7d4e

1 file changed

Lines changed: 28 additions & 2 deletions

File tree

packages/puppeteer-core/src/index.ts

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
/**
2+
* @license
3+
* Copyright 2017 Google Inc.
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
import * as puppeteer from 'puppeteer-core'
8+
9+
export const {
10+
/**
11+
* @public
12+
*/
13+
connect,
14+
/**
15+
* @public
16+
*/
17+
defaultArgs,
18+
/**
19+
* @public
20+
*/
21+
executablePath,
22+
/**
23+
* @public
24+
*/
25+
launch,
26+
} = puppeteer
27+
28+
export default puppeteer
129
export * from 'puppeteer-core'
2-
export { default } from 'puppeteer-core'
3-
export { PUPPETEER_REVISIONS } from 'puppeteer-core/lib/cjs/puppeteer/revisions.js'

0 commit comments

Comments
 (0)