pruny 1.33.0 → 1.34.0
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/index.js +2 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15029,11 +15029,8 @@ async function scanMissingAssets(config) {
|
|
|
15029
15029
|
if (!existsSync4(fullPath)) {
|
|
15030
15030
|
const fileName = basename(assetPath);
|
|
15031
15031
|
const isNextjsMetadata = NEXTJS_METADATA_PREFIXES.some((prefix) => fileName === prefix || fileName.startsWith(`${prefix}.`) || fileName.match(new RegExp(`^${prefix}\\d+\\.`)));
|
|
15032
|
-
if (isNextjsMetadata)
|
|
15033
|
-
|
|
15034
|
-
if (existsSync4(appPath))
|
|
15035
|
-
continue;
|
|
15036
|
-
}
|
|
15032
|
+
if (isNextjsMetadata)
|
|
15033
|
+
continue;
|
|
15037
15034
|
const assetKey = assetPath;
|
|
15038
15035
|
if (!missingMap.has(assetKey)) {
|
|
15039
15036
|
missingMap.set(assetKey, new Set);
|