Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ prepend
Method
prepend
src/Bundle.ts:285–288 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
283
}
284
285
prepend(str: string): this {
286
this.intro = str + this.intro
287
return
this
288
}
289
290
toString(): string {
291
const
body = this.sources
Callers
2
Bundle.test.ts
File · 0.45
MagicString.test.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected