diff --git a/src/vite-plugin.ts b/src/vite-plugin.ts index 0baddec..b0d442e 100644 --- a/src/vite-plugin.ts +++ b/src/vite-plugin.ts @@ -26,7 +26,12 @@ export default (options: Options): Plugin => { return devServer({ adapter: options?.adapter, entry: options.entry, - exclude: options?.exclude ?? [...defaultOptions.exclude, '/assets/**', '/app/**'], + exclude: options?.exclude ?? [ + ...defaultOptions.exclude, + '/assets/**', + '/app/**', + '/src/app/**', + ], injectClientScript: false, loadModule: async (server, entry) => { const appModule = await server.ssrLoadModule(entry)