mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-12-01 10:03:33 +01:00
30 lines
1.6 KiB
Diff
30 lines
1.6 KiB
Diff
diff --git a/dist/ProjectPrincipal.js b/dist/ProjectPrincipal.js
|
|
index c0d5c13fbbf498b9fe8aa62de6f4763d4be95998..a18c6ab1ea4af19e091b2e7baa80908f94b9a83b 100644
|
|
--- a/dist/ProjectPrincipal.js
|
|
+++ b/dist/ProjectPrincipal.js
|
|
@@ -261,7 +261,11 @@ export class ProjectPrincipal {
|
|
const fd = this.cache.getFileDescriptor(filePath);
|
|
if (!fd?.meta)
|
|
continue;
|
|
- fd.meta.data = { ...file, internalImportCache: undefined, importedBy: undefined };
|
|
+ const external = new Map();
|
|
+ for (const _import of file.imports.external)
|
|
+ external.set(JSON.stringify(_import), _import);
|
|
+ const imports = { ...file.imports, external: new Set(external.values()) };
|
|
+ fd.meta.data = { ...file, imports, internalImportCache: undefined, importedBy: undefined };
|
|
}
|
|
this.cache.reconcile();
|
|
}
|
|
diff --git a/dist/WorkspaceWorker.js b/dist/WorkspaceWorker.js
|
|
index 829d379e14de3a6766e5940048a573668547a311..00ea7f520722ece27a7df75865a555a1c63274df 100644
|
|
--- a/dist/WorkspaceWorker.js
|
|
+++ b/dist/WorkspaceWorker.js
|
|
@@ -322,7 +322,7 @@ export class WorkspaceWorker {
|
|
continue;
|
|
seenConfigFiles.add(configFilePath);
|
|
const isManifest = basename(configFilePath) === 'package.json';
|
|
- const fd = isManifest ? undefined : this.cache.getFileDescriptor(configFilePath);
|
|
+ const fd = undefined;
|
|
if (fd?.meta?.data && !fd.changed) {
|
|
const data = fd.meta.data;
|
|
if (data.resolveConfig)
|