Skip to content

Commit

Permalink
fixes wrongly used dep in vite conf
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwoert committed Jan 1, 2024
1 parent c11e89a commit dc2c398
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/editor/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import svgr from 'vite-plugin-svgr';
import { visualizer } from 'rollup-plugin-visualizer';
// import { visualizer } from 'rollup-plugin-visualizer';

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), svgr(), process.env.STATS && visualizer()],
plugins: [
react(),
svgr(),
// process.env.STATS && visualizer()
],
resolve: {
dedupe: ['styled-components', 'react', 'react-dom', 'react-is'],
},
Expand Down

0 comments on commit dc2c398

Please sign in to comment.