Skip to content

Commit

Permalink
fix regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jul 26, 2023
1 parent d29fc76 commit 48c1146
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions examples/deno/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@ import deno from '@astrojs/deno';
export default defineConfig({
output: 'server',
adapter: deno(),
image: {
service: {
// deno doesn't support assets, we provide a fake service so the project will build
entrypoint: "fake/service"
}
}
});
4 changes: 2 additions & 2 deletions packages/integrations/vercel/src/serverless/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ function getAdapter(): AstroAdapter {
staticOutput: 'Stable',
serverOutput: 'Stable',
assets: {
supportKind: 'Unsupported',
isNodeCompatible: false,
supportKind: 'Stable',
isNodeCompatible: true,
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/vercel/test/no-output.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ describe('Missing output config', () => {
error = err;
}
expect(error).to.not.be.equal(undefined);
expect(error.message).to.include(`output: "server"`);
expect(error.message).to.include('output: "server"');
});
});

0 comments on commit 48c1146

Please sign in to comment.