Skip to content

Commit 7a996ce

Browse files
authored
chore: fix targets not working (#11)
1 parent 0a06c83 commit 7a996ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { IApi } from 'father';
21
import { exec, execSync } from 'child_process';
2+
import type { IApi } from 'father';
33

44
// 检查是否已安装 npm 包
55
function checkNpmPackageInstalled(packageName: string) {
@@ -49,6 +49,9 @@ export default (api: IApi) => {
4949
platform: 'browser',
5050
output: 'lib',
5151
},
52+
targets: {
53+
chrome: 85,
54+
},
5255
} as typeof memo);
5356

5457
return memo;

0 commit comments

Comments
 (0)