Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 867 Bytes

File metadata and controls

30 lines (19 loc) · 867 Bytes

Webpack 4 Frontend Boilerplate

Webpack 4 frontend boilerplate for a progressive single page application

Installation

npm install or yarn install

Start Dev Server

npm run dev

Build Prod Version

npm run build

Features:

When you run npm run build we use the extract-text-webpack-plugin to move the css to a separate file and included in the head of your index.html, so that the styles are applied before any javascript gets loaded. We disabled this function for the dev version, because the loader doesn't support hot module replacement.