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 f87e4f6
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 @@ -39,6 +39,9 @@ function writeTargetsToCache(cachePath, results?: Record<string, ViteTargets>) {
}

export const createDependencies: CreateDependencies = () => {
logger.warn(
"The 'createDependencies' function is now a no-op. It will be replaced via the 'CreateNodesV2' API."
);
return [];
};

Expand Down

0 comments on commit f87e4f6

Please sign in to comment.