tests still seem to pass without suite!

This commit is contained in:
Simon Knott 2024-07-19 11:25:46 +02:00
parent 8493789534
commit 1665d8ff60
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -171,18 +171,6 @@ export async function buildBundle(config: FullConfig, configDir: string): Promis
buildInfo.deps = Object.fromEntries(depsCollector.entries());
}
{
// TODO: find a way of merging this with below
for (const [importingFile, components] of componentsByImportingFile) {
const deps = new Set<string>();
for (const component of components) {
for (const d of buildInfo.deps[component])
deps.add(d);
}
setExternalDependencies(importingFile, [...deps]);
}
}
{
// Update dependencies based on the vite build.
for (const [importingFile, components] of componentsByImportingFile) {