MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / append

Method append

src/Bundle.ts:123–130  ·  view source on GitHub ↗
(str: string, options?: BundleOptions)

Source from the content-addressed store, hash-verified

121 }
122
123 append(str: string, options?: BundleOptions): this {
124 this.addSource({
125 content: new MagicString(str),
126 separator: (options && options.separator) || '',
127 })
128
129 return this
130 }
131
132 clone(): this {
133 const bundle = new Bundle({

Callers 4

eslint.config.jsFile · 0.45
Bundle.test.tsFile · 0.45
buildFunction · 0.45

Calls 1

addSourceMethod · 0.95

Tested by 1

buildFunction · 0.36