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 )
# Clone de repo
git clone https://github.com/alterebro/simple-webpack-boilerplate.git
cd simple-webpack-boilerplate
# Install dependencies
npm install
Will run webpack-dev-server
on http://localhost:8081/
# Development
npm run dev
Creates the distributable optimized files on /dist
folder
# Build
npm run build