Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mention build.rollupOptions.output.manualChunks instead of build.rollupOutput.manualChunks #16721

Merged
merged 1 commit into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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