Skip to content

Feature Proposal: Ability to specify just to include handler file when packaging individually #2139

Closed

Description

@andymac4182

This is a Feature Proposal

Description

When using something like serverless-webpack or similar the only part that needs to be packaged up normally is the handler file. Ideally I would like to be able to tell the packaging to just get that file instead of having to exclude everything and include that one file.

For feature proposals:

  • What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.

Simple packaging when using a build pipeline with serverless

  • If there is additional config how would it look
package:
  individually: handler-only

Additional Data

  • _Serverless Framework Version you're using_: master
  • _Operating System_: Win
  • _Stack Trace_:
  • _Provider Error messages_:

Activity

  1. flomotlik commented on Nov 5, 2016

    @flomotlik
    Contributor

    You can do that with globbing now and only include the handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions