build: use JSON import attributes instead of readFIleSync in rolldown configs (#23251)