Socket
Socket
Sign inDemoInstall

@sveltejs/adapter-vercel

Package Overview
Dependencies
Maintainers
3
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sveltejs/adapter-vercel

Adapter for Svelte apps that creates a Vercel app, using a function for dynamic server rendering.


Version published
Weekly downloads
63K
increased by4.72%
Maintainers
3
Weekly downloads
 
Created
Source

adapter-vercel

Adapter for Svelte apps that creates a Vercel app, using a function for dynamic server rendering.

This currently just builds an AWS lambda and mounts it as an API route, before writing some vercel config to serve up assets and rewrite requests to the lambda.

Experimental, and missing a lot of features and optimisations.

Due to some strong opinions of the vercel deployment mechanism:

  • we currently bung the whole server into the API directory, which isn't ideal.
  • we don't currently use a build task which vercel can call. This seems to make the app a static app which isn't what we want.

Configuration

In a future edition, this will read and modify your existing vercel.json or write one if absent.

FAQs

Package last updated on 23 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc