Skip to content

Commit

Permalink
fix: mention build.rollupOptions.output.manualChunks instead of `bu…
Browse files Browse the repository at this point in the history
…ild.rollupOutput.manualChunks` (#16721)
  • Loading branch information
baseballyama committed May 20, 2024
1 parent 8041846 commit 89378c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vite/src/node/plugins/splitVendorChunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const isCSSRequest = (request: string): boolean =>
// Don't use this manualChunks strategy for ssr, lib mode, and 'umd' or 'iife'

/**
* @deprecated use build.rollupOutput.manualChunks or framework specific configuration
* @deprecated use build.rollupOptions.output.manualChunks or framework specific configuration
*/
export class SplitVendorChunkCache {
cache: Map<string, boolean>
Expand All @@ -40,7 +40,7 @@ export class SplitVendorChunkCache {
}

/**
* @deprecated use build.rollupOutput.manualChunks or framework specific configuration
* @deprecated use build.rollupOptions.output.manualChunks or framework specific configuration
*/
export function splitVendorChunk(
options: { cache?: SplitVendorChunkCache } = {},
Expand Down Expand Up @@ -94,7 +94,7 @@ function staticImportedByEntry(
}

/**
* @deprecated use build.rollupOutput.manualChunks or framework specific configuration
* @deprecated use build.rollupOptions.output.manualChunks or framework specific configuration
*/
export function splitVendorChunkPlugin(): Plugin {
const caches: SplitVendorChunkCache[] = []
Expand Down

0 comments on commit 89378c0

Please sign in to comment.