old.martials.no/vite.config.ts

20 lines
431 B
TypeScript
Raw Permalink Normal View History

2022-12-04 17:51:05 +01:00
import { defineConfig } from 'vite';
import solidPlugin from 'vite-plugin-solid';
export default defineConfig({
plugins: [solidPlugin()],
server: {
port: 3000,
},
build: {
target: 'esnext',
2022-12-23 14:57:53 +01:00
rollupOptions: {
input: {
main: "index.html",
"404": "404.html",
simplifyTruths: "simplify-truths.html",
2022-12-23 14:57:53 +01:00
}
}
2022-12-04 17:51:05 +01:00
},
});