Skip to content

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

Releases

No releases published

Packages

No packages published