function updateStyles(styles, data) {
	let styleAsset = styles.find(
		(s) => s.attrs["data-vite-dev-id"] === data.file,
	);
	if (styleAsset) {
		styleAsset.children = data.contents;
	}
}
@param {{ attrs: Record<string, string>; children: string }[]} styles
@param {*} data