Skip to content

AndrewSmithDev/react-rspack-boilerplate

Repository files navigation

React Rspack Boilerplate

A lightweight and fast React boilerplate using Rspack for bundling, TypeScript, and ESLint + Prettier for code quality.

Features

  • Rspack - A blazing-fast alternative to Webpack
  • 🏗️ TypeScript - Strongly typed JavaScript
  • 📂 Path Aliases - Cleaner imports using @/ alias
  • 🎨 CSS Modules & Global CSS - Supports modular styles and global CSS imports
  • 🔍 ESLint & Prettier - Code linting and formatting
  • 🚀 SWC Compiler - Fast JavaScript/TypeScript transformation
  • 🔄 Hot Module Replacement (HMR) - Faster development experience
  • 🖼️ Asset Handling - Supports images and CSS

Getting Started

1. Install Dependencies

npm install

2. Run Development Server

npm start

The app will be available at http://localhost:3000.

3. Build for Production

npm run build

The output files will be generated in the dist/ folder.

4. Lint & Format Code

Check for linting issues:

npm run lint

Automatically fix linting issues:

npm run lint:fix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors