old.martials.no/vite.config.ts

18 lines
340 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",
}
}
},
});