async function transform(id, code) {
		const [path, queryString] = id.split("?");
		const query = new URLSearchParams(queryString);
		if (query.has("pick")) {
			const babel = await import("@babel/core");
			const transformed = await babel.transformAsync(code, {
				plugins: [
					...(config.router.babel?.plugins ?? []),
					[plugin, { pick: query.getAll("pick") }],
				],
				parserOpts: {
					plugins: [
						'jsx',
						'typescript',
					],
				},
				filename: basename(id),
				ast: false,
				sourceMaps: true,
				configFile: false,
				babelrc: false,
				sourceFileName: id,
			});

			return transformed;

			// cache[path] ??= {};
			// cache[path][id] ??= transformed.code;

			// return {
			// 	code: transformed.code,
			// 	map: transformed.map,
			// };
		}
	}
@type {import('../vite-dev.d.ts').ViteConfig}