# Rspack Simple Starter

A minimal **React + TypeScript** template bundled with [Rspack](https://rspack.dev/) — a fast Rust-based bundler. Intentionally bare; grow it as you need.

## Scripts

```bash
pnpm dev       # dev server on http://localhost:5174
pnpm build     # production build → dist/
pnpm preview   # serve the production build
```

## Structure

```
├── index.html
├── rspack.config.mjs       # entry, swc loader, html plugin, dev server
├── tsconfig.json
└── src/
    ├── main.tsx            # React root
    ├── App.tsx
    ├── index.css
    └── components/
        └── author-credit.tsx
```

TypeScript/TSX is transpiled by Rspack's built-in SWC loader (no Babel). CSS uses Rspack's native CSS support (`type: "css"`).

---

Built by **Javid Salimov** ·
[GitHub](https://github.com/javidselimov) ·
[LinkedIn](https://www.linkedin.com/in/javidsalim/) ·
[npm](https://www.npmjs.com/~ubuligan)
