Webpack configuration to create web applications using JavaScript.
- CSS
- Babel
- Assets
- HTML Webpack Plugin
- Code Splitting
- Caching
- Lazy loading
- Webpack dev server (devlopment mode)
- CSS Minimizer Webpack plugin (production mode)
Follow the below steps for installation:
- Clone the app
git clone https://github.com/mnath30/webpack-config.git
- Go to the folder
cd webpack-config
- Install the dependencies
npm install
Use the following command to run the application in development mode
npm start
It creates a web server using live reloading.
Use the following command to run the application in production mode
npm run build
It creates the dist folder with the necessary minified code for deployment.