Skip to content

Commit 73524b9

Browse files
committed
chore: add more metadata files for deletion
1 parent 8b0d6dd commit 73524b9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/runtime/src/constants.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const HANDLER_FUNCTION_TITLE = 'Next.js SSR handler'
77
export const ODB_FUNCTION_TITLE = 'Next.js ISR handler'
88
export const IMAGE_FUNCTION_TITLE = 'next/image handler'
99
// These are paths in .next that shouldn't be publicly accessible
10+
1011
export const HIDDEN_PATHS = [
1112
'/cache',
1213
'/server',
@@ -18,6 +19,15 @@ export const HIDDEN_PATHS = [
1819
'/prerender-manifest.json',
1920
'/react-loadable-manifest.json',
2021
'/BUILD_ID',
22+
'/app-build-manifest.json',
23+
'/app-path-routes-manifest.json',
24+
'/export-marker.json',
25+
'/images-manifest.json',
26+
'/next-server.js.nft.json',
27+
'/package.json',
28+
'/prerender-manifest.js',
29+
'/required-server-files.json',
30+
'static-manifest.json',
2131
]
2232

2333
export const ODB_FUNCTION_PATH = `/.netlify/builders/${ODB_FUNCTION_NAME}`

0 commit comments

Comments
 (0)