Skip to content

Commit

Permalink
fix(vite): log no-op warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Jun 12, 2024
1 parent 90c2ffa commit cfcc7f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/vite/src/plugins/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ function writeTargetsToCache(cachePath, results?: Record<string, ViteTargets>) {
writeJsonFile(cachePath, results);
}

/**
* @deprecated The 'createDependencies' function is now a no-op. This functionality is included in 'createNodesV2'.
*/
export const createDependencies: CreateDependencies = () => {
return [];
};
Expand Down

0 comments on commit cfcc7f4

Please sign in to comment.