We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658572a commit 7101416Copy full SHA for 7101416
playground/class-components/vite.config.ts
@@ -4,4 +4,16 @@ import react from '@vitejs/plugin-react'
4
export default defineConfig({
5
server: { port: 8908 /* Should be unique */ },
6
plugins: [react()],
7
+ build: {
8
+ rollupOptions: {
9
+ output: {
10
+ advancedChunks: {
11
+ groups: [
12
+ { name: 'node-modules', test: 'node_modules' },
13
+ { name: 'react', test: 'react' },
14
+ ],
15
+ },
16
17
18
19
})
0 commit comments