- updated paths and code splitting config

This commit is contained in:
2025-12-12 08:32:06 +00:00
parent d1995f0a9f
commit 3353ad6f8b
2 changed files with 12 additions and 2 deletions

View File

@@ -6,7 +6,10 @@ import { AppProviders } from "./app/providers/AppProviders";
import "./index.css";
import Modal from "react-modal";
const router = createRouter({ routeTree });
const router = createRouter({
routeTree,
basepath: "/bayiq",
});
Modal.setAppElement("#root");

View File

@@ -9,7 +9,7 @@ export default defineConfig({
plugins: [
tanstackRouter({
target: "react",
autoCodeSplitting: true,
autoCodeSplitting: false,
}),
react(),
tailwindcss(),
@@ -22,4 +22,11 @@ export default defineConfig({
},
},
},
build: {
rollupOptions: {
output: {
manualChunks: undefined,
},
},
},
});