Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 303 Bytes

File metadata and controls

10 lines (8 loc) · 303 Bytes

react-webpack-example

An example of webpack configuration on existing react application

  • basic webpack configuration
  • vender splitting
  • setup webpack-dev-server
  • react-router with code splitting
  • setup production mode of webpack (-p)
  • setup webpack-dev-middleware for development on server.js