reboot alterflixhub
This commit is contained in:
commit
1e84023a44
188 files changed
+31629
No files matched your search
@@ -0,0 +1,25 @@
|
||||
import { agentNative } from "@agent-native/core/vite";
|
||||
import { reactRouter } from "@react-router/dev/vite";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
const reactRouterPlugins = reactRouter as unknown as () => any[];
|
||||
const agentNativePlugins = agentNative as unknown as (
|
||||
options?: Parameters<typeof agentNative>[0],
|
||||
) => any[];
|
||||
export default defineConfig({
|
||||
optimizeDeps: {
|
||||
entries: [
|
||||
"app/entry.client.tsx",
|
||||
"app/root.tsx",
|
||||
"app/components/layout/{Layout,Sidebar}.tsx",
|
||||
"app/components/chat/ChatRouteContent.tsx",
|
||||
"app/routes/{home,chat.$threadId}.tsx",
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
...reactRouterPlugins(),
|
||||
...agentNativePlugins({
|
||||
ssrStubs: ["shiki"],
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user