Überarbeite Readme & Clean-up

This commit was merged in pull request #41.
This commit is contained in:
Byroks committed 2026-10-30 07:44:43 +01:00
1 parent 4ab69c0905
commit 84daa12b7b
13 files changed
+575 -5052

No files matched your search

+9 -10
View File
@@ -1,15 +1,14 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
plugins: [],
define: {
"process.env.NODE_ENV": JSON.stringify("production")
"process.env.NODE_ENV": JSON.stringify("production"),
},
css: {
preprocessorOptions: {
scss: { api: "modern-compiler" }
}
scss: { api: "modern-compiler" },
},
},
build: {
outDir: "dist",
@@ -17,13 +16,13 @@ export default defineConfig({
lib: {
entry: "src/system.mjs",
formats: ["es"],
fileName: () => "system.mjs"
fileName: () => "system.mjs",
},
rollupOptions: {
output: {
// single-file bundle, no code-splitting: Foundry loads this one ESM file directly
inlineDynamicImports: true
}
}
}
inlineDynamicImports: true,
},
},
},
});