1.0.2 • Published 3 years ago
sample-react-scripts v1.0.2
派样基于react-create-app的自定义脚手架
- 支持安装 @ali 私有包
- 支持 less
- 支持 react-css-modules
- 升级 postcss-loader 4.0
- 增加 postcss-px-to-viewport ( 通过环境 REACT_APP_ViewportWidth 可以关闭)
- 增加 webpack-bundle-analyzer
- 增加 babel-plugin-import ( antd-mobile 按需引入 )
- 增强 eslint 配置, 使用airbnb,eslint-import-resolver-alias
- 增加版本号 process.env.rel
- 增加jsconfig
- 项目结构调整
- 增加 git hook -- husky
- 使用 redux,redux-thunk,redux-promise-es
- 使用 vconsole
- 使用 sample-request
- 支持 REACT_APP_BuildHash 关闭打包hash
- 使用 sample-utils
- 使用 sample-components
基于 react-scripts 4.0.1