Skip to content

Commit

Permalink
chore: exclude visualizer from build output
Browse files Browse the repository at this point in the history
  • Loading branch information
riipandi committed Sep 6, 2024
1 parent ab32e7e commit f2e53b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ const RemixConfig: VitePluginConfig = {
export default defineConfig({
plugins: [
!isTestOrStorybook && remix(RemixConfig),
inspect({ build: false, open: false }),
// `emitFile` is necessary since Remix builds more than one bundle!
visualizer({ emitFile: true }),
!process.env.CI && visualizer({ emitFile: true, template: 'treemap' }),
inspect({ build: false, open: false }),
tsconfigPaths(),
],
server: { port: 3000 },
Expand Down

0 comments on commit f2e53b9

Please sign in to comment.