mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-14 21:46:35 +00:00
12 lines
243 B
TypeScript
12 lines
243 B
TypeScript
import { TOOLS } from "$lib/registry";
|
|
|
|
export const prerender = true;
|
|
|
|
export function entries() {
|
|
return TOOLS.map((tool) => ({ id: tool.id }));
|
|
}
|
|
|
|
export function load({ params }: { params: { id: string } }) {
|
|
return { id: params.id };
|
|
}
|