Did you found it's solution ? , I am also currently stuck in this Problem , My Assets for Tailwind CSS url are not loading because of basePAth change.
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "xyz.net",
},
],
},
basePath: "/xperts",
};
export default nextConfig;