igor-h / webpack-config

Build an simple webpack solution for react building

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webpack basic configs

webpack

  • Build a solution using webpack 5.75
  • build javascript files, add css and handle imports
  • add HtmlWebPackPlugin to load from certain package
  • handle hashed files when building for production

available commands:

run npm install or yarn install

right after create a build

run npm run build

start webpack dev server to see the results:

run npm run dev

About

Build an simple webpack solution for react building


Languages

Language:JavaScript 83.7%Language:CSS 11.3%Language:HTML 4.9%