/project-templates

Templates for React, Preact, & Node using Webpack, Rollup, or TypeScript

Primary LanguageJavaScript

📑 Templates

Starter templates for React, Preact, and Node projects with Webpack or Rollup bundler.

Index

Webpack

React + Webpack

React + Webpack + SSR

Node + Webpack

Rollup

React + Rollup

Preact + Rollup

TypeScript

React + TypeScript

React + Babel + TypeScript

Node + TypeScript

Usage

  1. Clone the repo
git clone https://github.com/alex996/project-templates.git && cd project-templates
  1. Pick a template
cd react-webpack
  1. Install the deps
npm i
  1. Run the dev server
npm start
  1. Enjoy! 🎉

Features

  • Babel / TypeScript

  • ESLint & Prettier

  • Code splitting

  • Bundle versioning

  • Source maps

  • Bundle stats

  • More 🙂

Motivation

To extract out recurring boilerplate and enable full control over config 💪