mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-12 20:45:52 +00:00
17 lines
393 B
TypeScript
17 lines
393 B
TypeScript
import { defineConfig } from "vite";
|
|
import solid from "vite-plugin-solid";
|
|
|
|
export default defineConfig({
|
|
plugins: [solid()],
|
|
build: {
|
|
outDir: "themes/openfreebooks/static",
|
|
emptyOutDir: false,
|
|
rollupOptions: {
|
|
input: "frontend/src/main.tsx",
|
|
output: {
|
|
entryFileNames: "js/bundle.js",
|
|
assetFileNames: "js/[name][extname]",
|
|
},
|
|
},
|
|
},
|
|
});
|