NSC Bogen & würfe
This commit is contained in:
1 parent
4ab69c0905
commit
c8516aa356
18 files changed
+2328
-665
No files matched your search
+9
-10
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user