Rspack llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/rspack/llms-txt)

# Rspack llms.txt

Browse Rspack documentation as markdown. Click any page in the sidebar to view it, or copy the full llms.txt for your AI tools.

www.rspack.dev/llms.txt

[Raw llms.txt](https://www.rspack.dev/llms.txt) [Raw llms-full.txt](https://www.rspack.dev/llms-full.txt)

Copy Markdown [](https://www.rspack.dev/llms.txt)

llms.txt

Guide

Introduction

Quick start

Ecosystem

AI

Plugins

Loader

Dev server

Asset modules

Asset base path

Module resolution

Module Federation

Web Workers

Lazy compilation

Builtin swc-loader

Builtin lightningcss-loader

ESM output

Layer

TypeScript

CSS

HTML

JSON

React

React Server Components

Preact

Vue

Next.js

Node.js

NestJS

Solid

Svelte

Bundle analysis

Code splitting

Lazy barrel

Production optimization

Build performance profile

Tree shaking

Use Rsdoctor

Upgrading from v1 to v2

Upgrading from 0.x to v1

Migrate from webpack

Migrate from Create React App

Migrate from Storybook webpack

Plugin compatibility

Branding guideline

Config

Configure Rspack

Filename placeholders

Cache

Context

DevServer

Devtool

Entry

Experiments

Extends

Externals

Incremental

InfrastructureLogging

LazyCompilation

Mode

Module

Module generator

Module parser

Module rules

Node

Optimization

Output

Performance

Plugins

Resolve

ResolveLoader

Stats

Target

Watch

Other options

Deprecated options

Plugin

Rspack plugins

CircularCheckRspackPlugin

CircularDependencyRspackPlugin

CopyRspackPlugin

CssChunkingPlugin

CssExtractRspackPlugin

HtmlRspackPlugin

LightningCssMinimizerRspackPlugin

SubresourceIntegrityPlugin

SwcJsMinimizerRspackPlugin

VirtualModulesPlugin

Overview

BannerPlugin

ContextReplacementPlugin

DefinePlugin

DeterministicModuleIdsPlugin

DllPlugin

DllReferencePlugin

ElectronTargetPlugin

EnableChunkLoadingPlugin

EnableLibraryPlugin

EnableWasmLoadingPlugin

EntryPlugin

EnvironmentPlugin

EvalSourceMapDevToolPlugin

ExternalsPlugin

HotModuleReplacementPlugin

IgnorePlugin

JsonpTemplatePlugin

JavascriptModulesPlugin

LimitChunkCountPlugin

ModuleFederationPlugin

ModuleFederationPluginV1

NoEmitOnErrorsPlugin

NodeTargetPlugin

NodeTemplatePlugin

WebWorkerTemplatePlugin

NormalModuleReplacementPlugin

ProgressPlugin

ProvidePlugin

RuntimeChunkPlugin

SourceMapDevToolPlugin

SplitChunksPlugin

CaseSensitivePlugin

Internal plugins

TreeShakingSharedPlugin

API

Introduction

Command line interface

Module methods

Module variables

Hot module replacement

JavaScript API

Compiler

Compilation

Stats

Stats JSON

Logger

Cache

SWC API

Resolver API

Browser API

Overview

Writing loaders

Loader context

Inline loaders

Inline matchResource

Overview

Compiler hooks

Compilation hooks

NormalModuleFactory

ContextModuleFactory

JavascriptModulesPlugin

Stats hooks

RuntimePlugin hooks

Blog

Rspack blogs

Announcing Rspack 2.1

Announcing Rspack 2.0

Announcing Rspack 1.7

Announcing Rspack 1.6

Announcing Rspack 1.5

Announcing Rspack 1.4

Rspack joins the Next.js ecosystem

Announcing Rspack 1.3

Announcing Rspack 1.2

Announcing Rspack 1.1

Announcing Rspack 1.0

Announcing Rspack 1.0 alpha

Announcing Rspack 0.7

Announcing Rspack 0.6

Announcing Rspack 0.5

Module Federation added to Rspack

Announcing Rspack 0.4

Announcing Rspack 0.3

Announcing Rspack 0.2

Announcing Rspack 0.1

Others

Builtin plugin

Rspack loader

Building

Debugging

Prerequisites

Profiling

Project architecture

Releasing

Testing

Tracing

Contributing guide

SWC plugin version mismatch

License

FAQ

Glossary

Future behavior

Roadmap

Core team

Emeriti members

Join us

## What is Rspack's llms.txt?

Rspack publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Rspack offers and where to find details.

Pass

Spec

6

Sections

189

Links

29.8 KB

Size

~7.6k

Tokens

Sections: Guide · Config · Plugin · API · Blog · Others

## Add Rspack Docs to Your AI Assistant

Select your tool to see how to add Rspack's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://www.rspack.dev/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about Rspack

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 191 notes

## Frequently Asked Questions

Where is Rspack's llms.txt file?

Rspack publishes its llms.txt at https://www.rspack.dev/llms.txt. This file provides a structured, markdown-formatted index of Rspack's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use Rspack's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Rspack's documentation so it can provide better code suggestions and answers about Rspack.

What does Rspack's llms.txt contain?

Rspack's llms.txt contains 6 sections and 189 documentation links in 29.8 KB (~7.6k tokens). Key sections include Guide, Config, Plugin, API, Blog, Others.

How many tokens does Rspack's llms.txt use?

The concise llms.txt index is approximately 7.6k tokens (29.8 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

What is Rspack?

A fast Rust-based web bundler. Rspack's llms.txt file helps AI systems understand this by providing a structured overview of its documentation, making it easier for developers to get accurate AI-assisted help when working with Rspack.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Prettier Opinionated code formatter](https://mdream.dev/llms-txt/rspack/llms-txt/prettier) [Turborepo High-performance build system for JavaScript](https://mdream.dev/llms-txt/rspack/llms-txt/turborepo) [tRPC End-to-end typesafe APIs made easy](https://mdream.dev/llms-txt/rspack/llms-txt/trpc) [Vitest Next generation testing framework](https://mdream.dev/llms-txt/rspack/llms-txt/vitest) [Zod TypeScript-first schema validation](https://mdream.dev/llms-txt/rspack/llms-txt/zod) [Vite Next generation frontend tooling](https://mdream.dev/llms-txt/rspack/llms-txt/vite) [Valibot The modular and type safe schema library](https://mdream.dev/llms-txt/rspack/llms-txt/valibot) [Panda CSS CSS-in-JS with build-time generated styles](https://mdream.dev/llms-txt/rspack/llms-txt/panda-css)

[View all 99 projects ](https://mdream.dev/llms-txt/rspack/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/rspack/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/rspack/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)