mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
Introduce experimental support for on-demand bundling via HTML imports and Bun.serve() (#16395)
This commit is contained in:
@@ -19,6 +19,10 @@ pub const MutableString = struct {
|
||||
return MutableString.init(allocator, 2048);
|
||||
}
|
||||
|
||||
pub fn clone(self: *MutableString) !MutableString {
|
||||
return MutableString.initCopy(self.allocator, self.list.items);
|
||||
}
|
||||
|
||||
pub const Writer = std.io.Writer(*@This(), OOM, MutableString.writeAll);
|
||||
pub fn writer(self: *MutableString) Writer {
|
||||
return Writer{
|
||||
|
||||
Reference in New Issue
Block a user