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

Add function YAML config to ignore paths during shrinkwrap #888

Closed
wants to merge 1 commit into from

Commits on May 20, 2021

  1. Add function config to ignore paths during shrinkwrap

    This change handles an `ignore_paths` configuration array that prevents
    specified folders and files from being copied into the handler build
    folder.
    
    This is useful for node applications where the process of copying a
    handler's node_modules folder can take a long time. In such case, the
    node_modules folder is not needed as it is ignored during the Docker
    build process anyway.
    
    This change also applies to file paths that are copied from the
    configurations.copy array.
    
    Signed-off-by: Tate Barber <[email protected]>
    tatemz authored and Tate Barber committed May 20, 2021
    Configuration menu
    Copy the full SHA
    b4adc80 View commit details
    Browse the repository at this point in the history