initial commit

This commit is contained in:
unknown committed 2026-06-22 22:15:23 +02:00
commit 3cdd4eb0d0
16 files changed
+2080

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
define: {
"process.env.NODE_ENV": JSON.stringify("production")
},
build: {
outDir: "dist",
emptyOutDir: true,
lib: {
entry: "src/system.ts",
formats: ["es"],
fileName: () => "system.mjs"
},
rollupOptions: {
output: {
// single-file bundle, no code-splitting: Foundry loads this one ESM file directly
inlineDynamicImports: true
}
}
}
});