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

Method append

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

Source from the content-addressed store, hash-verified

106 }
107
108 append(str: string, options?: BundleOptions): this {
109 this.addSource({
110 content: new MagicString(str),
111 separator: (options && options.separator) || '',
112 })
113
114 return this
115 }
116
117 clone(): this {
118 const bundle = new Bundle({

Callers 3

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

Calls 1

addSourceMethod · 0.95

Tested by

no test coverage detected