serverless-localtunnel

0.0.16 • Public • Published

Serverless Localtunnel

serverless npm PRs Welcome

Runs a localtunnel in your Serverless build process

Usage

serverless.yml config

plugins:
  # - serverless-webpack
  # - serverless-client-s3
  # - serverless-dynamodb-local
  - serverless-offline
  - serverless-localtunnel

You are required to run serverless-offline before serverless-localtunnel. You have to have serverless-offline enabled to run this plugin.

Single Tunnel

custom:
  localtunnel:
    subdomain: mysubdomain
    port: 8080

Multi tunnel

Ex: Frontend & backend

custom:
  localtunnel:
    - subdomain: mysubdomainbackend
      port: 8080
    - subdomain: mysubdomainfrontend
      port: 3000

Contributing

Yes, thank you! Try to follow Airbnb's JavaScript Style Guide.

License

MIT

Package Sidebar

Install

npm i serverless-localtunnel

Weekly Downloads

15

Version

0.0.16

License

MIT

Last publish

Collaborators

  • toosick