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

Method append

src/Bundle.js:59–66  ·  view source on GitHub ↗
(str, options)

Source from the content-addressed store, hash-verified

57 }
58
59 append(str, options) {
60 this.addSource({
61 content: new MagicString(str),
62 separator: (options && options.separator) || '',
63 });
64
65 return this;
66 }
67
68 clone() {
69 const bundle = new Bundle({

Callers 2

Bundle.test.jsFile · 0.45

Calls 1

addSourceMethod · 0.95

Tested by

no test coverage detected