Files
clan-core/pkgs/webview-ui/app/vite.config.ts
Johannes Kirschbauer 7980f13bed add webview threaded api
2024-05-18 14:14:12 +00:00

23 lines
506 B
TypeScript

import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
// import devtools from "solid-devtools/vite";
export default defineConfig({
plugins: [
/*
Uncomment the following line to enable solid-devtools.
For more info see https://github.com/thetarnav/solid-devtools/tree/main/packages/extension#readme
*/
// devtools(),
solidPlugin(),
],
server: {
port: 3000,
},
build: {
target: "safari11",
// assetsDi
manifest: true,
},
});