Skip to content

Commit 6fd2838

Browse files
committed
chore: more info on how to skip bundling
1 parent 4a27440 commit 6fd2838

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/runtime/src/helpers/verification.ts

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ export const checkForRootPublish = ({
105105
}
106106

107107
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
108110
if (!process.env.NETLIFY_CHECK_BUNDLE_SIZE) {
109111
console.log('Skipping the bundle size check. Set env var "NETLIFY_CHECK_BUNDLE_SIZE=true" to enable checking the bundle size')
110112
return

0 commit comments

Comments
 (0)