rolldown 0.1.1

Fast JavaScript bundler in Rust, designed for the future of Vite
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if (shouldBeExportsNotThis) {
	console.log(this)
	console.log((x = this) => this)
	console.log({x: this})
	console.log(class extends this.foo {})
	console.log(class { [this.foo] })
	console.log(class { [this.foo]() {} })
	console.log(class { static [this.foo] })
	console.log(class { static [this.foo]() {} })
}
if (shouldBeThisNotExports) {
	console.log(class { foo = this })
	console.log(class { foo() { this } })
	console.log(class { static foo = this })
	console.log(class { static foo() { this } })
}