react-ts-template
React + Typescript项目模板
- webpack5
- react17
- antd4
- babel7
- eslint
- prettier
- pwa
workbox相关
@loadable/component
␍
eslint(prettier/prettier) 错误
Delete git config --global core.autocrlf false
TODO
- 增加Git Commit Message 1.1 npm install -g commitizen 1.2 commitizen init cz-conventional-changelog --yarn --dev --exact 1.3 .cz-config.js 1.4 npm install --save-dev @commitlint/cli 1.5 npm install --save-dev @commitlint/config-conventional 1.6 commitlint.config.js 1.7 npm install husky --save-dev 1.8 配置git commit提交时的校验钩子
- Lint Staged
package.json husky hook里面暂时删了"pre-commit": "lint-staged",
3.升级webpack5