rolldown 0.1.0

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
---
source: crates/rolldown_testing/src/integration_test.rs
---
# Assets

## entry.js

```js
import assert from "node:assert";

// HIDDEN [rolldown:runtime]
//#region foo.js
var require_foo = /* @__PURE__ */ __commonJS({ "foo.js": ((exports, module) => {
	module.exports = function() {
		return 123;
	};
}) });

//#endregion
//#region entry.js
function nestedScope() {
	const fn = require_foo();
	assert.equal(fn(), 123);
}
nestedScope();

//#endregion
```