MCPcopy 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.tsFile · 0.45
buildFunction · 0.45

Calls

no outgoing calls

Tested by 1

buildFunction · 0.36