We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a27440 commit 6fd2838Copy full SHA for 6fd2838
packages/runtime/src/helpers/verification.ts
@@ -105,6 +105,8 @@ export const checkForRootPublish = ({
105
}
106
107
export const checkZipSize = async (file: string, maxSize: number = LAMBDA_MAX_SIZE): Promise<void> => {
108
+ // Experimental: We can skip checking for the bundle size on the plugin side.
109
+ // Please reach out to the Netlify support team if you'd like to enable this feature
110
if (!process.env.NETLIFY_CHECK_BUNDLE_SIZE) {
111
console.log('Skipping the bundle size check. Set env var "NETLIFY_CHECK_BUNDLE_SIZE=true" to enable checking the bundle size')
112
return
0 commit comments