We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4846ae5 commit 14506d2Copy full SHA for 14506d2
packages/vite/src/utils/executor-utils.ts
@@ -40,7 +40,9 @@ export function createBuildableTsConfig(
40
context.projectGraph,
41
context.root,
42
context.projectName,
43
- context.targetName,
+ // When using incremental building and the serve target is called
44
+ // we need to get the deps for the 'build' target instead.
45
+ context.targetName === 'serve' ? 'build' : context.targetName,
46
context.configurationName
47
);
48
// this tsconfig is used via the vite ts paths plugin
0 commit comments