taniarascia/webpack-boilerplate
taniarascia/webpack-boilerplate has 2,352 GitHub stars and 530 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-11 10:38 UTC. Last push 2024-03-14.
📦 A sensible webpack 5 boilerplate.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original📦 webpack Boilerplate
Sensible webpack 5 boilerplate using Babel, PostCSS and Sass.
Installation
Clone this repo and npm install.
npm i
Usage
Development server
npm start
You can view the development server at localhost:8080.
Production build
npm run build
Note: Install http-server globally to deploy a simple server.
npm i -g http-server
You can view the deploy by creating a server in dist.
cd dist && http-server
Features
Dependencies
webpack
webpack- Module and asset bundler.webpack-cli- Command line interface for webpackwebpack-dev-server- Development server for webpackwebpack-merge- Simplify development/production configurationcross-env- Cross platform configuration
Babel
@babel/core- Transpile ES6+ to backwards compatible JavaScript@babel/plugin-proposal-class-properties- Use properties directly on a class (an example Babel config)@babel/preset-env- Smart defaults for Babel
Loaders
babel-loader- Transpile files with Babel and webpacksass-loader- Load SCSS and compile to CSSsass- Node Sass
postcss-loader- Process CSS with PostCSSpostcss-preset-env- Sensible defaults for PostCSS
css-loader- Resolve CSS importsstyle-loader- Inject CSS into the DOM
Plugins
clean-webpack-plugin- Remove/clean build folderscopy-webpack-plugin- Copy files to build directoryhtml-webpack-plugin- Generate HTML files from templatemini-css-extract-plugin- Extract CSS into separate filescss-minimizer-webpack-plugin- Optimize and minimize CSS assets
Linters
eslint- Enforce styleguide across applicationeslint-config-prettier- Implement prettier rulesprettier- Dependency forprettier-webpack-pluginplugin
eslint-import-resolver-webpack- Throw exceptions for import/export in webpack
Author
License
This project is open source and available under the MIT License.
Explore related projects
freeCodeCamp/freeCodeCamp
freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.
459,006 starsdonnemartin/system-design-primer
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
377,621 starsreact/react
The library for web and native user interfaces.
252,531 starsvuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
212,532 stars