clan-core/pkgs/webview-ui/app/vite.config.ts

29 lines
638 B
TypeScript
Raw Normal View History

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";
export default defineConfig({
2024-05-20 17:34:27 +00:00
resolve: {
alias: {
"@": path.resolve(__dirname, "./"), // Adjust the path as needed
},
},
plugins: [
2024-06-05 09:07:40 +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(),
solidPlugin(),
],
server: {
port: 3000,
},
build: {
target: "safari11",
// assetsDi
manifest: true,
},
});