Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 519 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 519 Bytes

Simple Preact Boilerplate

Simple Preact boilerplate with development server HMR. Webpack configuration is purposely kept to a minimum.

Features

  • SCSS/ SASS support
  • Webpack 5, with separate configuration files for production and development (using webpack-merge).
  • index.html generated through HTMLWebpackPlugin.
  • Browserslist

Usage

  • Don't forget to install all dependencies first.

    npm install

  • To start the development server

    npm run start

  • To build for production

    npm run build