Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Latest commit

 

History

History
48 lines (32 loc) · 861 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 861 Bytes

Preact Webpack 4 Minimal Starter Software License

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.

Installation

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

Usage

Start a live-reload development server:

yarn start

Generate a production build:

yarn build

Cleanup:

yarn clean