2024-05-14 16:55:44 +00:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
import solidPlugin from "vite-plugin-solid";
|
2024-06-12 11:21:25 +00:00
|
|
|
import devtools from "solid-devtools/vite";
|
2024-05-20 17:34:27 +00:00
|
|
|
import path from "node:path";
|
2024-05-14 16:55:44 +00:00
|
|
|
|
|
|
|
export default defineConfig({
|
2024-05-20 17:34:27 +00:00
|
|
|
resolve: {
|
|
|
|
alias: {
|
|
|
|
"@": path.resolve(__dirname, "./"), // Adjust the path as needed
|
|
|
|
},
|
|
|
|
},
|
2024-05-14 16:55:44 +00:00
|
|
|
plugins: [
|
2024-06-05 09:07:40 +00:00
|
|
|
/*
|
2024-05-14 16:55:44 +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-06-12 11:21:25 +00:00
|
|
|
devtools(),
|
2024-05-14 16:55:44 +00:00
|
|
|
solidPlugin(),
|
|
|
|
],
|
|
|
|
server: {
|
|
|
|
port: 3000,
|
|
|
|
},
|
|
|
|
build: {
|
|
|
|
target: "safari11",
|
|
|
|
// assetsDi
|
|
|
|
manifest: true,
|
|
|
|
},
|
|
|
|
});
|