Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1002 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 1002 Bytes

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