card-jong-fe/vite.config.mts

21 lines
494 B
TypeScript
Raw Normal View History

2024-05-06 22:52:19 +00:00
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
2024-05-03 00:14:49 +00:00
// import devtools from 'solid-devtools/vite';
export default defineConfig({
2024-05-06 22:52:19 +00:00
plugins: [
/*
2024-05-03 00:14:49 +00:00
Uncomment the following line to enable solid-devtools.
For more info see https://github.com/thetarnav/solid-devtools/tree/main/packages/extension#readme
*/
2024-05-06 22:52:19 +00:00
// devtools(),
solidPlugin(),
],
server: {
port: 3000,
},
build: {
target: "esnext",
},
2024-05-03 00:14:49 +00:00
});