Skip to content

Commit 1c1d388

Browse files
Disable dynamic imports
1 parent 6671dba commit 1c1d388

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

frontend/vite.config.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference types="vite/client" />
2-
import { sentryVitePlugin } from "@sentry/vite-plugin";
32
import { tanstackRouter } from "@tanstack/router-vite-plugin";
43
import react from "@vitejs/plugin-react-swc";
54
import { defineConfig } from "vite";
@@ -80,19 +79,13 @@ export default defineConfig({
8079
plugins: [
8180
tanstackRouter({
8281
target: "react",
83-
autoCodeSplitting: true,
82+
autoCodeSplitting: false,
8483
}),
8584
react(), // Must come *after* tanstackRouter
8685
createHtmlPlugin({
8786
entry: "./src/index.tsx",
8887
template: "index.html",
8988
inject: {},
9089
}),
91-
sentryVitePlugin({
92-
telemetry: false,
93-
org: "uncletopia",
94-
project: "frontend",
95-
authToken: import.meta.env?.SENTRY_AUTH_TOKEN ?? "",
96-
}),
9790
],
9891
});

0 commit comments

Comments
 (0)