/static-webpack-boilerplate

This is mainly for static project, this boilerplate allows you to minifiy your source code into your build folder!

Primary LanguageJavaScriptMIT LicenseMIT

Static webpack boilerplate

License: MIT devDependencies Status

A lightweight boilerplate for your next webpack based frontend project. Enjoy!

Installation

Static webpack boilerplate requires the following...

Quick start:

# Install dependencies
yarn install

# Run dev server
yarn run dev

# To build dist folder
yarn run build

# Make it your own repo
rm -rf .git && git init

# Installing in a new directory of your choice

git clone https://github.com/ericz99/static-webpack-boilerplate.git <your folder>

Features

When you run yarn run build we use the mini-css-extract-plugin to move the css to a separate file. The css file gets included in the head of the index.html.

Deployment [ Will add quick deployment later ]

This webpack boilerplate provides production ready deployment onto cloud based service like heroku.

Deploy

App Info

Author

Eric Zhang

Version

1.0.0

License

This project is licensed under the MIT License - see the LICENSE file for details