From 196f2a9d9bdeb2df09b1e0d43f3239ef25ab2003 Mon Sep 17 00:00:00 2001 From: Birk Skyum Date: Sun, 26 Jul 2026 22:37:19 +0200 Subject: [PATCH] chore: add changeset for route module id fix --- .changeset/eighty-jars-invite.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/eighty-jars-invite.md diff --git a/.changeset/eighty-jars-invite.md b/.changeset/eighty-jars-invite.md new file mode 100644 index 000000000..3283965ad --- /dev/null +++ b/.changeset/eighty-jars-invite.md @@ -0,0 +1,7 @@ +--- +"@solidjs/start": patch +--- + +Route module ids now end in the source extension, so ecosystem plugins apply inside `src/routes`. + +Route files are imported through an id carrying the picked exports in the query (`routes/api.ts?pick=GET`), which left the id ending in the export name. Plugins whose filter is anchored on the file extension (`/\.[cm]?[jt]sx?$/`, the default for `unplugin-auto-import`, `unplugin-macros` and others) silently skipped every route file. The id now ends with a `lang.` marker, the same convention Vue SFCs use for `?vue&type=script&lang.ts`. Chunk filenames are unchanged.