Skip to content

mnath30/webpack-config

Repository files navigation

webpack-config

Webpack configuration to create web applications using JavaScript.

List of Dependencies

  • CSS
  • Babel
  • Assets
  • HTML Webpack Plugin
  • Code Splitting
  • Caching
  • Lazy loading
  • Webpack dev server (devlopment mode)
  • CSS Minimizer Webpack plugin (production mode)

Installation

Follow the below steps for installation:

  1. Clone the app
git clone https://github.com/mnath30/webpack-config.git
  1. Go to the folder
cd webpack-config
  1. Install the dependencies
npm install

Development Mode

Use the following command to run the application in development mode

npm start

It creates a web server using live reloading.

Production Mode

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.

Releases

No releases published

Packages

No packages published