Skip to content

RenzWay/webpack-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

27 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

logo Webpack Starter

License Webpack Status PRs Welcome

A modern, ready-to-use Webpack starter template for kickstarting JavaScript, HTML, and CSS projects. Designed to be lightweight, fast, and easy to customize.


๐Ÿ“ฆ What's Included?

  • โœ… Webpack 5
  • โœ… Development & Production Modes
  • โœ… Babel (for ES6+)
  • โœ… Hot Module Replacement (HMR)
  • โœ… CSS Loader, Style Loader, & Sass
  • โœ… HTML Webpack Plugin (auto-generates index.html)
  • โœ… Asset loader (images, fonts, etc.)
  • โœ… CleanWebpackPlugin (cleans dist/ before build)
  • โœ… Routing SPA (Single Page Application)

๐Ÿš€ Getting Started

1. Clone the Repository

git clone https://github.com/RenzWay/webpack-starter.git
cd webpack-starter

2. Install Dependencies

npm install
# or
yarn install

๐Ÿ’ป Development Mode

Run the development server

npm run dev
# or
yarn dev

๐Ÿ“ฆ Production Mode

npm run build
# or
yarn build

โš™๏ธ Customization

Modify the configuration in webpack.common.js as needed:

  • Add new loaders (e.g., SASS, TypeScript, React, etc.)
  • Add additional plugins (e.g., dotenv, terser, etc.)
  • Change the src/, dist/ directories, or publicPath

๐Ÿง‘โ€๐Ÿ’ป Who Is This Project For?

This project is suitable for:

  • Developers who want to start a JavaScript project from scratch
  • Learning practical Webpack setup
  • Creating a flexible frontend boilerplate

๐Ÿ“œ License

License: MIT
Free to use and modify. See the LICENSE file for details.

๐Ÿ™‹ Contact

zenrenz
๐Ÿ”— GitHub: [https://github.com/RenzWay]

โญ๏ธ Don't Forget

This is not an official Webpack project. Made by community for learning purposes.

If you find this repo useful, don't forget to give it a โญ๏ธ on GitHub!


About

๐ŸŽฏ Simple Webpack Starter for beginners or developers who don't want to be complicated. Just use it and start coding! **this is not official**

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors