Skip to content

A basic webpack 4 boilerplate with features such as Babel, Sass and Autoprefixer

License

Notifications You must be signed in to change notification settings

gustafguner/webpack-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack 4 Boilerplate

A basic webpack 4 boilerplate.

Requirements

node.js

Setup

  1. Clone this repository.
  2. Install the dependencies.
$ npm install

Using webpack-dev-server

  1. Start the local webpack-dev-server.
$ npm run serve
  1. Navigate to http://localhost:3000.

Building

When building, your code will be bundled and outputed to /dist.

Building for development

$ npm run build

Building for production

$ npm run build:prod

Features