2024-09-03 21:07:27 +00:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import solidPlugin from "vite-plugin-solid";
|
2024-09-03 17:03:56 +00:00
|
|
|
// import devtools from 'solid-devtools/vite';
|
|
|
|
|
|
|
|
export default defineConfig({
|
2024-09-03 21:07:27 +00:00
|
|
|
plugins: [
|
|
|
|
/*
|
2024-09-03 17:03:56 +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-09-03 21:07:27 +00:00
|
|
|
// devtools(),
|
|
|
|
solidPlugin(),
|
|
|
|
],
|
|
|
|
server: {
|
|
|
|
port: 3000,
|
|
|
|
},
|
|
|
|
build: {
|
|
|
|
target: "esnext",
|
|
|
|
},
|
2024-09-03 17:03:56 +00:00
|
|
|
});
|
2024-09-03 21:07:27 +00:00
|
|
|
|