Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace regex replacemend logic in iifefyFunctionFile and handle _ENTRIES declarations #846

Closed
wants to merge 1 commit into from

Commits on Aug 2, 2024

  1. replace regex replacemend logic in iifefyFunctionFile and handle `_…

    …ENTRIES` declarations
    
    in `iifefyFunctionFile` replace the regex replacement code that was present to prepare the
    file contents to be embedded in the iife with more proper AST code modding
    
    as part of this change make also sure that `_ENTRIES` identifiers are not modified if they
    were actually declared inside the function file (as it happens in older Vercel CLI releases)
    dario-piotrowicz committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    895cd66 View commit details
    Browse the repository at this point in the history