Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ prepend
Method
prepend
src/Bundle.ts:307–310 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
305
}
306
307
prepend(str: string): this {
308
this.intro = str + this.intro
309
return
this
310
}
311
312
toString(): string {
313
const
body = this.sources
Callers
3
Bundle.test.ts
File · 0.45
MagicString.test.ts
File · 0.45
build
Function · 0.45
Calls
no outgoing calls
Tested by
1
build
Function · 0.36