Support Astro 5
This commit is contained in:
parent
6757c0b0e6
commit
dc2fb254d6
4 changed files with 1125 additions and 1609 deletions
|
|
@ -66,7 +66,7 @@ export const integration = ({ generateHtaccessFile, errorPages, redirects, custo
|
|||
assetsDir = fileURLToPath(new URL(".vercel/output/static/", config.root));
|
||||
} else if (config.adapter?.name === "@astrojs/cloudflare") {
|
||||
assetsDir = fileURLToPath(new URL(config.base?.replace(/^\//, ""), config.outDir));
|
||||
} else if (config.adapter?.name === "@astrojs/node" && config.output === "hybrid") {
|
||||
} else if (config.adapter?.name === "@astrojs/node") {
|
||||
assetsDir = fileURLToPath(config.build.client!);
|
||||
} else {
|
||||
assetsDir = fileURLToPath(config.outDir);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue