aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.zig')
-rw-r--r--src/runtime.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime.zig b/src/runtime.zig
index 11862f544..e33b31961 100644
--- a/src/runtime.zig
+++ b/src/runtime.zig
@@ -164,6 +164,7 @@ pub const Fallback = struct {
pub const Runtime = struct {
pub const ProdSourceContent = @embedFile("./runtime.out.js");
+ pub const ProdSourceContentNode = @embedFile("./runtime.node.out.js");
pub const ProdSourceContentBun = @embedFile("./runtime.bun.out.js");
pub const ProdSourceContentWithRefresh = @embedFile("./runtime.out.refresh.js");
@@ -193,6 +194,10 @@ pub const Runtime = struct {
return sourceContentWithoutRefresh();
}
+ pub inline fn sourceContentNode() string {
+ return ProdSourceContentNode;
+ }
+
pub inline fn sourceContentBun() string {
return ProdSourceContentBun;
}