Files
sweet/packages/plugin-vite/demo/vite.config.ts
T
Marvin Hagemeister 399cbc3aa2 fix(vite): nested islands not working (#3440)
This PR makes nested islands work. Problem was that only entry files
have the `src` property in the vite manifest. For that we need to ensure
that every island is an entry point.

Fixes https://github.com/denoland/fresh/issues/3439
2025-09-15 17:55:44 +02:00

15 lines
326 B
TypeScript

import { defineConfig } from "vite";
import { fresh } from "@fresh/plugin-vite";
import inspect from "vite-plugin-inspect";
import tailwind from "@tailwindcss/vite";
export default defineConfig({
plugins: [
inspect(),
fresh({
islandSpecifiers: ["@marvinh-test/fresh-island"],
}),
tailwind(),
],
});