@absolutejs/absolute 0.18.3-beta.5 → 0.18.3-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.js +8 -3
- package/dist/build.js.map +3 -3
- package/dist/index.js +8 -3
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -171920,7 +171920,7 @@ var mimeTypes, getMimeType = (filePath) => {
|
|
|
171920
171920
|
}
|
|
171921
171921
|
const identity = stripHash(fullPath);
|
|
171922
171922
|
const livePath = liveByIdentity.get(identity);
|
|
171923
|
-
if (livePath
|
|
171923
|
+
if (livePath !== fullPath) {
|
|
171924
171924
|
return unlink(fullPath).catch(() => {});
|
|
171925
171925
|
}
|
|
171926
171926
|
return null;
|
|
@@ -171969,9 +171969,14 @@ var mimeTypes, getMimeType = (filePath) => {
|
|
|
171969
171969
|
continue;
|
|
171970
171970
|
newIdentities.set(stripHash(webPath), webPath);
|
|
171971
171971
|
}
|
|
171972
|
+
const liveWebPaths = new Set(newIdentities.values());
|
|
171972
171973
|
const staleKeys = [...store.keys()].filter((existingPath) => {
|
|
171974
|
+
if (existingPath.includes("/chunk-"))
|
|
171975
|
+
return false;
|
|
171973
171976
|
const replacement = newIdentities.get(stripHash(existingPath));
|
|
171974
|
-
|
|
171977
|
+
if (replacement !== undefined)
|
|
171978
|
+
return replacement !== existingPath;
|
|
171979
|
+
return !liveWebPaths.has(existingPath);
|
|
171975
171980
|
});
|
|
171976
171981
|
staleKeys.forEach((key) => store.delete(key));
|
|
171977
171982
|
for (const webPath of newIdentities.values()) {
|
|
@@ -174181,5 +174186,5 @@ export {
|
|
|
174181
174186
|
ANGULAR_INIT_TIMEOUT_MS
|
|
174182
174187
|
};
|
|
174183
174188
|
|
|
174184
|
-
//# debugId=
|
|
174189
|
+
//# debugId=491A915F28E1A16364756E2164756E21
|
|
174185
174190
|
//# sourceMappingURL=index.js.map
|