Skip to content

Commit 3ddbe55

Browse files
committed
refactor: update gi-cli
1 parent 7187475 commit 3ddbe55

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

packages/gi-cli/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
"postpublish": "tnpm sync @antv/gi-cli"
1616
},
1717
"keywords": [],
18-
"authors": [
19-
"yang"
20-
],
18+
"authors": [],
2119
"license": "MIT",
2220
"files": [
2321
"dist",
@@ -30,7 +28,7 @@
3028
"@umijs/utils": "^4.0.29"
3129
},
3230
"devDependencies": {
33-
"father": "^4.0.7"
31+
"father": "^4.2.3"
3432
},
3533
"repository": {
3634
"type": "git",
Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
export default {
2-
entry: './src/index.tsx',
3-
esm: 'babel',
4-
cjs: 'babel',
5-
lessInBabelMode: false,
2+
esm: {
3+
input: 'src',
4+
output: 'es',
5+
platform: 'browser',
6+
transformer: 'babel',
7+
},
8+
cjs: {
9+
input: 'src',
10+
output: 'lib',
11+
platform: 'node',
12+
transformer: 'esbuild',
13+
},
614
};

0 commit comments

Comments
 (0)