Add native Crystal exploration port and reference tooling
Checks / web (push) Canceled after 0s

This commit is contained in:
Sébastien QUEROL committed 2026-09-23 09:23:29 +02:00
1 parent 2127f5f459
commit 8b80d05ca2
56 files changed
+6910 -1

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import { defineConfig } from "vite";
export default defineConfig(({ mode }) => ({
publicDir: mode === "reference" ? "reference/public" : "public",
server: {
host: "127.0.0.1",
// A user ROM may sit at the repository root. Never serve it or extracted
// assets and the private PRET checkout as static files.
fs: {
deny: [
"**/*.{gb,gbc,rom,sav}",
"**/*.crystal-save.json",
"**/.reference/**",
"**/artifacts/**",
".env",
".env.*",
"**/.git/**",
],
},
},
build:
mode === "reference"
? {
outDir: "dist-reference",
rollupOptions: { input: "reference.html" },
}
: { outDir: "dist" },
}));