Skip to content

Commit 05c959b

Browse files
committed
chore: update build script
1 parent 469c018 commit 05c959b

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.fatherrc-next.ts

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

.fatherrc.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
export default {
3+
target: 'node',
4+
cjs: {
5+
type: 'babel',
6+
}
7+
}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
/*.log
77
/*.log.*
88
/yarn.lock
9+
/pnpm-lock.yaml
910

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"main": "lib/index.js",
1010
"scripts": {
11-
"build": "father-next",
11+
"build": "father-build",
1212
"test": "umi-test --coverage",
1313
"debug": "umi-test",
1414
"lint": "eslint --ext .js src",
@@ -45,7 +45,7 @@
4545
"eslint-config-prettier": "^6.11.0",
4646
"eslint-plugin-import": "^2.20.2",
4747
"eslint-plugin-prettier": "^3.1.3",
48-
"father-next": "^3.0.0-alpha.3",
48+
"father-build": "^1.21.2",
4949
"husky": "^4.2.5",
5050
"lint-staged": "^10.2.8",
5151
"material-ui": "^0.20.2",

0 commit comments

Comments
 (0)