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
15 lines
326 B
TypeScript
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(),
|
|
],
|
|
});
|