tests still seem to pass without suite!
This commit is contained in:
parent
8493789534
commit
1665d8ff60
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue