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

Method append

benchmark/data.js:873–879  ·  view source on GitHub ↗
(str, options)

Source from the content-addressed store, hash-verified

871 return this;
872 }
873 append(str, options) {
874 this.addSource({
875 content: new MagicString(str),
876 separator: (options && options.separator) || '',
877 });
878 return this;
879 }
880 clone() {
881 const bundle = new Bundle({
882 intro: this.intro,

Callers

nothing calls this directly

Calls 1

addSourceMethod · 0.95

Tested by

no test coverage detected