aboutsummaryrefslogtreecommitdiff
path: root/resources.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources.go')
-rw-r--r--resources.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources.go b/resources.go
new file mode 100644
index 0000000..bf3b919
--- /dev/null
+++ b/resources.go
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+
+package main
+
+import (
+ "embed"
+)
+
+//go:embed wasm/*.wasm
+//go:embed static/*
+var resourcesFS embed.FS