How can use Appflow with next.js?

I made an app using Ionic, Capacitor, and Nextjs. I want to use Live Update via Appflow, which requires react-scripts build. Can’t I use this with nextjs? Please let me know if there is a way to do ionic deploy add without react-scripts.

I wrote detail issue in nextjs + ionic + capacitor example repository what I referred.