Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

alterebro/simple-webpack-boilerplate

Repository files navigation

simple-webpack-boilerplate

Webpack4 + ES6 + LESS + PostCSS Boilerplate.

A simple / sample template for web prototyping with ES6 and LESS using Webpack 4, mini-css-extract-plugin instead of ExtractTextPlugin (extract-text-webpack-plugin) and PostCSS ( Autoprefixer and cssnano )


Install

# Clone de repo
git clone https://github.com/alterebro/simple-webpack-boilerplate.git
cd simple-webpack-boilerplate

# Install dependencies
npm install

Dev

Will run webpack-dev-server on http://localhost:8081/

# Development
npm run dev

Build

Creates the distributable optimized files on /dist folder

# Build
npm run build