question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Respect existing deploy config

See original GitHub issue

The adapter-vercel package completely obliterates the existing vercel.json file.

Instead it should be write the necessary values into the JSON object, only after checking that the necessary keys/values don’t already exist.

Option B is to add some kind of adapter-vercel config or CLI flag that effectively acts like --skip-config

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kvn-shncommented, Apr 27, 2021

@Rich-Harris It’s still relevant for e.g. the Netlify Adapter I guess. Because there the potentially already existing _redirects file is “overridden” (actually just ignored and thus not applied). The adapter’s _redirects has a higher priority than netlify.toml though, so currently any configured redirect rule doesn’t work (see discussion at https://github.com/sveltejs/kit/issues/930#issuecomment-817077432).

0reactions
Rich-Harriscommented, Apr 25, 2021

i think we can close this now, since we don’t write a vercel.json. reopen if i’m mistaken

Read more comments on GitHub >

github_iconTop Results From Across the Web

Config as Code strategies
Review and collaborate on changes using pull requests. Clone an existing project to use as a template for future projects. Track changes to...
Read more >
Configuration deployment from Workbench over an ...
When deploying a configuration from Workbench onto a server with an existing configuration you should first reinitialize the server.
Read more >
Environments and deployments - GitLab Docs
By default, GitLab assumes a tier based on the environment name. Instead, you can use the deployment_tier keyword to specify a tier. Configure...
Read more >
Cisco Secure Firewall Management Center Device ...
This procedure resets the threat defense configuration to factory defaults by changing manager from management center to local and configuring ...
Read more >
Deploy configuration changes
Review the list of your existing deployments and compare deployed configurations. Deployments are the configuration changes that you implemented by clicking ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found