gustafguner / webpack-boilerplate

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:JavaScript 94.8%Language:HTML 5.2%