### Run `just setup` Source: https://rolldown.rs/development-guide/setup-the-project Executes the main setup script for the Rolldown project. Run this after cloning the repository to install all necessary dependencies and prepare the build environment. ```sh just setup ``` -------------------------------- ### Install heaptrack for memory profiling Source: https://rolldown.rs/development-guide/profiling Install heaptrack and heaptrack-gui. Example provided for Ubuntu. Note that heaptrack is Linux-only but works on WSL. ```bash sudo apt install heaptrack heaptrack-gui ``` -------------------------------- ### Get Rolldown CLI Help Source: https://rolldown.rs/guide/getting-started Display available command-line options and examples for Rolldown. ```sh ./node_modules/.bin/rolldown --help ``` -------------------------------- ### Install `just` using pnpm Source: https://rolldown.rs/development-guide/setup-the-project Installs the `just` command-line tool globally using pnpm. This is an alternative method for installing `just`. ```sh pnpm --global add just-install ``` -------------------------------- ### Example: TLA in Rolldown (After Bundling) Source: https://rolldown.rs/in-depth/tla-in-rolldown This is the bundled output of the previous example, demonstrating how TLA modules are processed sequentially. ```javascript // tla1.js const foo1 = await Promise.resolve('foo1'); // tla2.js const foo2 = await Promise.resolve('foo2'); // sync.js const bar = 'bar'; // main.js console.log(foo1, foo2, bar); ``` -------------------------------- ### Install `just` using npm Source: https://rolldown.rs/development-guide/setup-the-project Installs the `just` command-line tool globally using npm. This is one of the methods to satisfy the `just` prerequisite. ```sh npm install --global just-install ``` -------------------------------- ### Rolldown Module Placing Order Example Source: https://rolldown.rs/in-depth/automatic-code-splitting Demonstrates Rolldown's attempt to place modules in their declared order by emulating execution flow, starting from entry points. ```javascript // entry.js import { foo } from './foo.js'; console.log(foo); // foo.js export var foo = 'foo'; ``` ```javascript // foo.js var foo = 'foo'; // entry.js console.log(foo); ``` -------------------------------- ### Setup Benchmarks in Project Root Source: https://rolldown.rs/development-guide/benchmarking Run this command in the project root to set up necessary fixtures before benchmarking. ```shell just setup-bench ``` -------------------------------- ### Example: Initial App Output Source: https://rolldown.rs/in-depth/manual-code-splitting Illustrates the initial output structure with application code and bundled libraries in separate files. ```javascript import ... from './libs-hash0.js'; // App.js function App() { return