Skip to content

Commit 89378c0

Browse files
authored
fix: mention build.rollupOptions.output.manualChunks instead of build.rollupOutput.manualChunks (#16721)
1 parent 8041846 commit 89378c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/vite/src/node/plugins/splitVendorChunk.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const isCSSRequest = (request: string): boolean =>
2727
// Don't use this manualChunks strategy for ssr, lib mode, and 'umd' or 'iife'
2828

2929
/**
30-
* @deprecated use build.rollupOutput.manualChunks or framework specific configuration
30+
* @deprecated use build.rollupOptions.output.manualChunks or framework specific configuration
3131
*/
3232
export class SplitVendorChunkCache {
3333
cache: Map<string, boolean>
@@ -40,7 +40,7 @@ export class SplitVendorChunkCache {
4040
}
4141

4242
/**
43-
* @deprecated use build.rollupOutput.manualChunks or framework specific configuration
43+
* @deprecated use build.rollupOptions.output.manualChunks or framework specific configuration
4444
*/
4545
export function splitVendorChunk(
4646
options: { cache?: SplitVendorChunkCache } = {},
@@ -94,7 +94,7 @@ function staticImportedByEntry(
9494
}
9595

9696
/**
97-
* @deprecated use build.rollupOutput.manualChunks or framework specific configuration
97+
* @deprecated use build.rollupOptions.output.manualChunks or framework specific configuration
9898
*/
9999
export function splitVendorChunkPlugin(): Plugin {
100100
const caches: SplitVendorChunkCache[] = []

0 commit comments

Comments
 (0)