loading...

React-Manual-configuration-with-Webpack-from-scratch

alidhuniya profile image Ali Hussain Dhuniya ・1 min read

Github code: https://rb.gy/r1tjme

What you'll get in this webpack configuration for the React App?

Below the list is given:

  • dev and production environment separation
  • project structure like create-react-app
  • sass config
  • HTML template
  • PWA Feature config
  • CSS and JS minification
  • hashing
  • file loader and much more

Live Demo

Note: I use this webpack config in one of my project which is hariSalon React App

Live App
Github code

Discussion

pic
Editor guide
Collapse
supermegakiller profile image
OlehTrukhan

For the babel config you can add some plugins like transform-react-remove-prop-types, and also add jest config for testing