diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index edbce6450..2609104ba 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -84,6 +84,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => { outDir: '../cmd/server/web', minify: 'esbuild', rollupOptions: { + external: ['codemirror'], output: { chunkFileNames: 'assets/js/[name]-[hash].js', entryFileNames: 'assets/js/[name]-[hash].js',