Simple Preact boilerplate with development server HMR. Webpack configuration is purposely kept to a minimum.
- SCSS/ SASS support
- Webpack 5, with separate configuration files for production and development (using webpack-merge).
- index.html generated through HTMLWebpackPlugin.
- Browserslist
-
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