We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1badac8 commit e08d530Copy full SHA for e08d530
packages/vite/src/plugins/plugin.ts
@@ -89,6 +89,10 @@ async function createNodesInternal(
89
context: CreateNodesContext,
90
targetsCache: Record<string, ViteTargets>
91
) {
92
+ // Escape hatch for timestamp files that have not been cleaned up by vite's resolveConfig function
93
+ if (configFilePath.includes('.timestamp-')) {
94
+ return {};
95
+ }
96
const projectRoot = dirname(configFilePath);
97
// Do not create a project if package.json and project.json isn't there.
98
const siblingFiles = readdirSync(join(context.workspaceRoot, projectRoot));
0 commit comments