aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.zig')
-rw-r--r--src/api/schema.zig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.zig b/src/api/schema.zig
index 0805ddfc1..23739441a 100644
--- a/src/api/schema.zig
+++ b/src/api/schema.zig
@@ -823,6 +823,9 @@ generate_node_module_bundle: ?bool = null,
/// node_modules_bundle_path
node_modules_bundle_path: ?[]const u8 = null,
+/// javascript_framework_file
+javascript_framework_file: ?[]const u8 = null,
+
pub fn decode(reader: anytype) anyerror!TransformOptions {
var this = std.mem.zeroes(TransformOptions);
@@ -894,6 +897,9 @@ pub fn decode(reader: anytype) anyerror!TransformOptions {
21 => {
this.node_modules_bundle_path = try reader.readValue([]const u8);
},
+ 22 => {
+ this.javascript_framework_file = try reader.readValue([]const u8);
+},
else => {
return error.InvalidMessage;
},
@@ -987,6 +993,10 @@ if (this.node_modules_bundle_path) |node_modules_bundle_path| {
try writer.writeFieldID(21);
try writer.writeValue(node_modules_bundle_path);
}
+if (this.javascript_framework_file) |javascript_framework_file| {
+ try writer.writeFieldID(22);
+ try writer.writeValue(javascript_framework_file);
+}
try writer.endMessage();
}