Skip to content

abaddonGIT/abba-webpack-boilerplate

Repository files navigation

πŸ“¦πŸ“¦πŸ“¦πŸ“¦πŸ“¦ webpack Boilerplate

License: MIT GitHub issues GitHub stars

Webpack started site boilerplate

Sensible webpack 5 boilerplate using Babel, PostCSS and Sass with a hot dev server and an optimized production build.

Requirements

  • node >= 10.13.0
  • yarn or npm

Installation

Clone this repo and npm install.

yarn install

Usage

Development server

yarn run start

You can view the development server at localhost:8080.

Production build

yarn run build

Note: Install http-server globally to deploy a simple server.

yarn add http-server

You can view the deploy by creating a server in dist.

cd dist && http-server

Update package.json

yarn run check

ESLint check

yarn run lint

TS check

yarn run ts-check

Fix code style with prettier

yarn run fix-code-style 

Features

Dependencies

webpack

Babel

Loaders

Plugins

Linters

Libs

Author

License

This project is open source and available under the MIT License.