@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/build.js
CHANGED
|
@@ -171895,7 +171895,7 @@ var mimeTypes, getMimeType = (filePath) => {
|
|
|
171895
171895
|
}
|
|
171896
171896
|
const identity = stripHash(fullPath);
|
|
171897
171897
|
const livePath = liveByIdentity.get(identity);
|
|
171898
|
-
if (livePath
|
|
171898
|
+
if (livePath !== fullPath) {
|
|
171899
171899
|
return unlink(fullPath).catch(() => {});
|
|
171900
171900
|
}
|
|
171901
171901
|
return null;
|
|
@@ -171944,9 +171944,14 @@ var mimeTypes, getMimeType = (filePath) => {
|
|
|
171944
171944
|
continue;
|
|
171945
171945
|
newIdentities.set(stripHash(webPath), webPath);
|
|
171946
171946
|
}
|
|
171947
|
+
const liveWebPaths = new Set(newIdentities.values());
|
|
171947
171948
|
const staleKeys = [...store.keys()].filter((existingPath) => {
|
|
171949
|
+
if (existingPath.includes("/chunk-"))
|
|
171950
|
+
return false;
|
|
171948
171951
|
const replacement = newIdentities.get(stripHash(existingPath));
|
|
171949
|
-
|
|
171952
|
+
if (replacement !== undefined)
|
|
171953
|
+
return replacement !== existingPath;
|
|
171954
|
+
return !liveWebPaths.has(existingPath);
|
|
171950
171955
|
});
|
|
171951
171956
|
staleKeys.forEach((key) => store.delete(key));
|
|
171952
171957
|
for (const webPath of newIdentities.values()) {
|
|
@@ -173757,5 +173762,5 @@ export {
|
|
|
173757
173762
|
build
|
|
173758
173763
|
};
|
|
173759
173764
|
|
|
173760
|
-
//# debugId=
|
|
173765
|
+
//# debugId=35064AA62AA190C664756E2164756E21
|
|
173761
173766
|
//# sourceMappingURL=build.js.map
|