diff --git a/src/index.ts b/src/index.ts index cb84c86..29f7022 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ -import type { IApi } from 'father'; import { exec, execSync } from 'child_process'; +import type { IApi } from 'father'; // 检查是否已安装 npm 包 function checkNpmPackageInstalled(packageName: string) { @@ -49,6 +49,9 @@ export default (api: IApi) => { platform: 'browser', output: 'lib', }, + targets: { + chrome: 85, + }, } as typeof memo); return memo;