old.martials.no/vite.config.ts
2023-01-07 16:01:53 +01:00

20 lines
431 B
TypeScript

import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
export default defineConfig({
plugins: [solidPlugin()],
server: {
port: 3000,
},
build: {
target: 'esnext',
rollupOptions: {
input: {
main: "index.html",
"404": "404.html",
simplifyTruths: "simplify-truths.html",
}
}
},
});