docs/development-guide/repo-structure.md
This document outlines the structure of the repository and the purpose of each directory.
/cratesWe store all the Rust crates in this directory.
/bench Benchmark programs for Rust side of the project./rolldown Core logic of rolldown the bundler./rolldown_binding Glue code that binds the core logic to the Node.js./packagesWe store all the Node.js packages in this directory.
/rolldown Node.js package for the project./bench Benchmark programs for Node.js side of the project./rollup-tests Adapter for running rollup tests with rolldown./vite-tests Script to run Vite's own test suite with local rolldown, on a throwaway clone of the shared root /vite checkout./viteThe single Vite checkout shared by the dev-server test harness (packages/test-dev-server) and packages/vite-tests: a gitignored clone of vitejs/vite at the latest rolldown-canary rebased onto the latest main, created by just setup-vite. It must stay unpatched: never edit Vite source files inside it.
/examplesThis directory contains examples of how to use rolldown in Node.js for various scenarios.
/scriptsThis directory contains scripts that are used to automate various tasks for the project.
/webThis directory contains some websites related to the project.
/docs Documentation for the project.