-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Shaw Summa <[email protected]>
- Loading branch information
Showing
11 changed files
with
139 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule cuik
updated
4 files
+7 −0 | tb/src/builtins.h | |
+1 −1 | tb/src/libtb.c | |
+1 −2 | tb/src/opt/print_c.h | |
+3 −1 | tb/src/tb.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>MiniVM</title> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<link rel="icon" href="data://"> | ||
<link rel="stylesheet" href="src/app/global.css"> | ||
</head> | ||
|
||
<body> | ||
<script type="module" src="src/index.js"></script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; | ||
|
||
export default { | ||
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess | ||
// for more information about preprocessors | ||
preprocess: vitePreprocess(), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { defineConfig } from "vite"; | ||
import { svelte } from "@sveltejs/vite-plugin-svelte"; | ||
import wasm from "vite-plugin-wasm"; | ||
import topLevelAwait from "vite-plugin-top-level-await"; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: [ | ||
svelte(), | ||
wasm(), | ||
topLevelAwait(), | ||
], | ||
base: './', | ||
worker: { | ||
format: 'es', | ||
}, | ||
build: { | ||
outDir: 'public', | ||
rollupOptions: { | ||
output: { | ||
format: "es", | ||
}, | ||
}, | ||
}, | ||
assetsInclude: [ | ||
'**/*.pack', | ||
], | ||
}); |
Oops, something went wrong.