Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ prepend
Method
prepend
src/Bundle.js:223–226 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
221
}
222
223
prepend(str) {
224
this.intro = str + this.intro;
225
return
this;
226
}
227
228
toString() {
229
const
body = this.sources
Callers
2
Bundle.test.js
File · 0.45
MagicString.test.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected