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

Method append

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

Source from the content-addressed store, hash-verified

105 }
106
107 append(str: string, options?: BundleOptions): this {
108 this.addSource({
109 content: new MagicString(str),
110 separator: (options && options.separator) || '',
111 })
112
113 return this
114 }
115
116 clone(): this {
117 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