fix: vite
This commit is contained in:
42
node_modules/@sveltejs/adapter-auto/adapters.js
generated
vendored
Normal file
42
node_modules/@sveltejs/adapter-auto/adapters.js
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
import process from 'node:process';
|
||||
|
||||
// List of adapters to check for. `version` is used to pin the installed adapter version and should point
|
||||
// to the latest version of the adapter that is compatible with adapter-auto's current peerDependency version of SvelteKit.
|
||||
export const adapters = [
|
||||
{
|
||||
name: 'Vercel',
|
||||
test: () => !!process.env.VERCEL,
|
||||
module: '@sveltejs/adapter-vercel',
|
||||
version: '5'
|
||||
},
|
||||
{
|
||||
name: 'Cloudflare Pages',
|
||||
test: () => !!process.env.CF_PAGES,
|
||||
module: '@sveltejs/adapter-cloudflare',
|
||||
version: '5'
|
||||
},
|
||||
{
|
||||
name: 'Netlify',
|
||||
test: () => !!process.env.NETLIFY,
|
||||
module: '@sveltejs/adapter-netlify',
|
||||
version: '4'
|
||||
},
|
||||
{
|
||||
name: 'Azure Static Web Apps',
|
||||
test: () => process.env.GITHUB_ACTION_REPOSITORY === 'Azure/static-web-apps-deploy',
|
||||
module: 'svelte-adapter-azure-swa',
|
||||
version: '0.20'
|
||||
},
|
||||
{
|
||||
name: 'AWS via SST',
|
||||
test: () => !!process.env.SST,
|
||||
module: 'svelte-kit-sst',
|
||||
version: '2'
|
||||
},
|
||||
{
|
||||
name: 'Google Cloud Run',
|
||||
test: () => !!process.env.GCP_BUILDPACKS,
|
||||
module: '@sveltejs/adapter-node',
|
||||
version: '5'
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user