Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 1abea1b

Browse files
committed
feat: sort exports method name
1 parent a2b28ee commit 1abea1b

File tree

1 file changed

+1
-1
lines changed
  • packages/vite-plugin-cloudflare-functions/src/vite

1 file changed

+1
-1
lines changed

packages/vite-plugin-cloudflare-functions/src/vite/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ const ALLOW_EXPORTS = new Set([
7878
async function getExports(filepath: string) {
7979
const code = await fs.readFile(filepath, 'utf-8');
8080
const exports = findExportNames(code);
81-
return exports.filter((n) => ALLOW_EXPORTS.has(n));
81+
return exports.filter((n) => ALLOW_EXPORTS.has(n)).sort();
8282
}

0 commit comments

Comments
 (0)