aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/schema.d.ts3
-rw-r--r--src/api/schema.js4
-rw-r--r--src/api/schema.peechy1
-rw-r--r--src/api/schema.zig3
4 files changed, 11 insertions, 0 deletions
diff --git a/src/api/schema.d.ts b/src/api/schema.d.ts
index 64bd2eff6..d8129fd27 100644
--- a/src/api/schema.d.ts
+++ b/src/api/schema.d.ts
@@ -21,6 +21,7 @@ export enum Loader {
file = 6,
json = 7,
toml = 8,
+ wasm = 9,
}
export const LoaderKeys = {
1: "jsx",
@@ -39,6 +40,8 @@ export const LoaderKeys = {
json: "json",
8: "toml",
toml: "toml",
+ 9: "wasm",
+ wasm: "wasm",
};
export enum FrameworkEntryPointType {
client = 1,
diff --git a/src/api/schema.js b/src/api/schema.js
index d6dbfe1c3..f2e9b24a5 100644
--- a/src/api/schema.js
+++ b/src/api/schema.js
@@ -7,6 +7,7 @@ const Loader = {
6: 6,
7: 7,
8: 8,
+ 9: 9,
jsx: 1,
js: 2,
ts: 3,
@@ -15,6 +16,7 @@ const Loader = {
file: 6,
json: 7,
toml: 8,
+ wasm: 9,
};
const LoaderKeys = {
1: "jsx",
@@ -25,6 +27,7 @@ const LoaderKeys = {
6: "file",
7: "json",
8: "toml",
+ 9: "wasm",
jsx: "jsx",
js: "js",
ts: "ts",
@@ -33,6 +36,7 @@ const LoaderKeys = {
file: "file",
json: "json",
toml: "toml",
+ wasm: "wasm",
};
const FrameworkEntryPointType = {
1: 1,
diff --git a/src/api/schema.peechy b/src/api/schema.peechy
index 64f0844b8..59cb1edf5 100644
--- a/src/api/schema.peechy
+++ b/src/api/schema.peechy
@@ -9,6 +9,7 @@ smol Loader {
file = 6;
json = 7;
toml = 8;
+ wasm = 9;
}
smol FrameworkEntryPointType {
diff --git a/src/api/schema.zig b/src/api/schema.zig
index 7c9344209..61d6b82d1 100644
--- a/src/api/schema.zig
+++ b/src/api/schema.zig
@@ -356,6 +356,9 @@ pub const Api = struct {
/// toml
toml,
+ /// wasm
+ wasm,
+
_,
pub fn jsonStringify(self: *const @This(), opts: anytype, o: anytype) !void {