Skip to content

Commit

Permalink
chore: update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Apr 11, 2022
1 parent 469c018 commit 05c959b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .fatherrc-next.ts

This file was deleted.

7 changes: 7 additions & 0 deletions .fatherrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

export default {
target: 'node',
cjs: {
type: 'babel',
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
/*.log
/*.log.*
/yarn.lock
/pnpm-lock.yaml

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"main": "lib/index.js",
"scripts": {
"build": "father-next",
"build": "father-build",
"test": "umi-test --coverage",
"debug": "umi-test",
"lint": "eslint --ext .js src",
Expand Down Expand Up @@ -45,7 +45,7 @@
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"father-next": "^3.0.0-alpha.3",
"father-build": "^1.21.2",
"husky": "^4.2.5",
"lint-staged": "^10.2.8",
"material-ui": "^0.20.2",
Expand Down

0 comments on commit 05c959b

Please sign in to comment.