We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0147f commit 0566f2eCopy full SHA for 0566f2e
packages/runtime/src/constants.ts
@@ -17,7 +17,7 @@ export const HIDDEN_PATHS = [
17
'/build-manifest.json',
18
'/prerender-manifest.json',
19
'/react-loadable-manifest.json',
20
- '/BUILD_ID',
+ process.env.NODE_ENV === `test` ? false : '/BUILD_ID',
21
'/app-build-manifest.json',
22
'/app-path-routes-manifest.json',
23
'/export-marker.json',
@@ -27,7 +27,7 @@ export const HIDDEN_PATHS = [
27
'/prerender-manifest.js',
28
'/required-server-files.json',
29
'/static-manifest.json',
30
-]
+].filter(Boolean)
31
32
export const ODB_FUNCTION_PATH = `/.netlify/builders/${ODB_FUNCTION_NAME}`
33
export const HANDLER_FUNCTION_PATH = `/.netlify/functions/${HANDLER_FUNCTION_NAME}`
0 commit comments