Some checks are pending
CI / build-check-test (push) Waiting to run
- Add diagnostics.html page to test Lit event binding - Add SES protection script in index.html (runs before modules) - Force Vite dep optimization to prevent stale caches - Fixes for users with crypto wallet extensions (MetaMask etc.)
16 lines
400 B
TypeScript
16 lines
400 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss()],
|
|
optimizeDeps: {
|
|
// Force re-optimization on every restart
|
|
force: true,
|
|
// Ensure lit is pre-bundled correctly
|
|
include: ["lit", "lit/decorators.js", "lit/directives/ref.js"],
|
|
},
|
|
server: {
|
|
// Allow connections
|
|
host: true,
|
|
},
|
|
});
|