Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] more info about prerendering errors and new strict option #7264

Merged
merged 10 commits into from
Oct 18, 2022
Prev Previous commit
Next Next commit
drive-by-fix
  • Loading branch information
dummdidumm committed Oct 17, 2022
commit 505979bf06561263b72f77dfe5120ef0fe3f14b7
3 changes: 2 additions & 1 deletion packages/kit/src/core/adapt/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export function create_builder({ config, build_data, routes, prerendered, log })
async createEntries(fn) {
/** @type {import('types').RouteDefinition[]} */
const facades = routes.map((route) => {
/** @type {Set<import('types').HttpMethod>} */
const methods = new Set();

if (route.page) {
methods.add('SET');
methods.add('GET');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol oops

}

if (route.endpoint) {
Expand Down