Complete the code to specify the deployment target in Astro config.
export default {
output: '[1]',
};The static output mode is used for static site deployment, which affects how Astro builds the site.
Complete the code to import the correct adapter for deploying to Vercel.
import [1] from '@astrojs/vercel/serverless';
The correct import for Vercel server adapter is vercel.
Fix the error in the Astro config by completing the adapter assignment.
export default {
adapter: [1],
};The adapter must be called as a function, so vercel() is correct.
Fill both blanks to configure Astro for Netlify deployment with the correct import and adapter call.
import [1] from '@astrojs/netlify/functions'; export default { adapter: [2](), };
The correct import and adapter call use netlify as the identifier.
Fill all three blanks to create a dictionary comprehension that maps deployment targets to their adapter imports.
const adapters = {
'vercel': [1],
'netlify': [2],
'static': [3]
};Each deployment target key maps to its adapter function call.
