Skip to content

Commit 0d3f431

Browse files
authored
Chore/#305-K: 클라이언트 번들 코드 스플리팅
2 parents cf902bf + bf28969 commit 0d3f431

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { resolve } from 'path';
22

33
import react from '@vitejs/plugin-react';
4-
import { defineConfig } from 'vite';
4+
import { defineConfig, splitVendorChunkPlugin } from 'vite';
55

66
// https://vitejs.dev/config/
77
export default defineConfig({
8-
plugins: [react()],
8+
plugins: [react(), splitVendorChunkPlugin()],
99
resolve: {
1010
alias: [
1111
{ find: 'src', replacement: resolve(__dirname, './src') },

0 commit comments

Comments
 (0)