diff --git a/frontend/viewer/vite.config.ts b/frontend/viewer/vite.config.ts index 591375b77..94a797f8a 100644 --- a/frontend/viewer/vite.config.ts +++ b/frontend/viewer/vite.config.ts @@ -23,7 +23,7 @@ export default defineConfig(({ mode, command }) => { sourcemap: true, chunkSizeWarningLimit: 1000, rollupOptions: { - input: ['src/main.ts', 'src/app.postcss'], + input: webComponent ? undefined : ['src/main.ts'], output: { entryFileNames: '[name].js', chunkFileNames: '[name].js',