Minimal Webpack 4 / Preact starter project.
This repository contains the initial setup for a plain Javascript project (including babel/eslint). It does not contain any configuration for tests or assets handling.
1. Clone this repo:
git clone --depth 1 https://github.com/code2k/preact-webpack4-minimal.git my-app
cd my-app
2. Initialize your project:
rm -rf .git && git init && yarn init
3. Install dependencies:
yarn install
Start a live-reload development server:
yarn start
Generate a production build:
yarn build
Cleanup:
yarn clean