Skip to content

About

基于webpack(4) + typescript 的 react 脚手架

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

webpack-react-typescript-starter

基于webpack4 + typescript的react脚手架

介绍

  • 基于webpack4来作为构建工具,执行build命令时自动进行tree shaking和scope hoisting优化
  • 基于ts-load解析typescript
  • 基于postcss管理css,使用了precss和cssnext插件
  • 除了webpack自带的优化外,本框架还用了hard-source-webpack-plugin插件进行了缓存处理
  • 基于rimraf,解决了每次npm run build后dist文件夹里会残留之前的文件问题

存在的问题

About

基于webpack(4) + typescript 的 react 脚手架

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages