From d0607c2c0f82c9304854cae6258ef380c4a24ac8 Mon Sep 17 00:00:00 2001 From: Johan Grimsehl Date: Tue, 10 Dec 2024 22:04:06 +0100 Subject: [PATCH] Vite Plugin order Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.js b/vite.config.js index 9a7e35f..52dfcd6 100644 --- a/vite.config.js +++ b/vite.config.js @@ -7,6 +7,7 @@ import { manualChunksPlugin } from "vite-plugin-webpackchunkname"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [ + react(), manualChunksPlugin(), momentTimezonePlugin({ zones: ["Europe/Berlin"], @@ -14,7 +15,6 @@ export default defineConfig({ endYear: 2050, }), visualizer({ filename: "dist/stats.html" }), - react(), ], esbuild: { legalComments: "external" }, server: { watch: { usePolling: true } },