Skip to content

eadenink/webpack-5-config

Repository files navigation

Webpack 5 config

A detailed guide for setting up this config you can find in my article on Habr: https://habr.com/ru/post/597389/

Getting Started

First of all, you must copy it to your project:

git clone https://github.com/aAleksandrOrlov/webpack-5-config ./<your_directory>

Then install the dependencies:

npm install

Available Scripts

In the project directory, you can run:

npm run start

Runs the app in the development mode. Open http://localhost:8080 to view it in the browser.

npm run build

Builds the app in the development mode to the build folder.

npm run build-prod

Builds the app for production to the build folder.

npm run clean

Delete dist folder.