Skip to content

pamcy/Custom-Webpack-Config-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom Webpack Config Boilerplate

A project that provides basic webpack 4 boilerplate to quickstart development.

Features

  • Webpack
  • Dev Server
  • Hot Module Replacement
  • Development & Production Mode
  • Babel
  • SCSS
  • PostCSS
  • Polyfill

Getting Started

Clone this repo and install

npm install

Usage

Development Server

npm run start

Production Build

npm run build

Dependencies

Webpack

  • webpack: Module bundler
  • webpack-cli: Webpack's Command Line Interface
  • webpack-dev-server: Webpack's development server that provides live reloading
  • webpack-merge: Merge common settings with development and production
  • cross-env: Run scripts that set and use environment variables across platforms

Babel

  • @babel/core: Convert ES6 code into a backwards compatible JavaScript
  • @babel/preset-env: Specify an environment and only transpiles features that are missing in that environment
  • @babel/polyfill: Use the full set of ES6 features beyond syntax changes
    • core-js: A polyfill of the JavaScript standard library

Loaders

Plugins

About

A basic Webpack 4 boilerplate to quick start development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors