aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-24 19:09:55 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-02-24 19:09:55 -0800
commitd1eba784b9d902ac6043c1b76e64382d43fbc261 (patch)
treeb711a3f5624817496b0071721634dad8bdc50e4a /src/api/schema.js
parentead77e074d0cfb3d170a243140cce564a4f287a5 (diff)
downloadbun-d1eba784b9d902ac6043c1b76e64382d43fbc261.tar.gz
bun-d1eba784b9d902ac6043c1b76e64382d43fbc261.tar.zst
bun-d1eba784b9d902ac6043c1b76e64382d43fbc261.zip
Add WASM modules but disable it for now
Diffstat (limited to 'src/api/schema.js')
-rw-r--r--src/api/schema.js4
1 files changed, 4 insertions, 0 deletions
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,