mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-10 08:58:31 +00:00
* Feat: v2 * feat: add chat functionality * First cut: integrations * Feat: add conversation API * Enhance conversation handling and memory management * Feat: added conversation --------- Co-authored-by: Manoj K <saimanoj58@gmail.com>
41 lines
832 B
TypeScript
41 lines
832 B
TypeScript
import { vitePlugin as remix } from "@remix-run/dev";
|
|
import { defineConfig } from "vite";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
declare module "@remix-run/node" {
|
|
interface Future {
|
|
v3_singleFetch: true;
|
|
}
|
|
}
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
tailwindcss(),
|
|
remix({
|
|
future: {
|
|
v3_fetcherPersist: true,
|
|
v3_relativeSplatPath: true,
|
|
v3_throwAbortReason: true,
|
|
v3_singleFetch: true,
|
|
v3_lazyRouteDiscovery: true,
|
|
},
|
|
}),
|
|
tsconfigPaths(),
|
|
],
|
|
server: {
|
|
middlewareMode: true,
|
|
allowedHosts: true,
|
|
},
|
|
ssr: {
|
|
target: "node",
|
|
noExternal: [
|
|
"@core/database",
|
|
"tailwindcss",
|
|
"@tiptap/react",
|
|
"react-tweet",
|
|
],
|
|
external: ["@prisma/client"],
|
|
},
|
|
});
|