Run capacitor without react-scripts


It seems like ionic capacitor run ios -l --address= is running react-scripts start by default.

Is there a way to run my ejected React app (From CRA) without using react-scripts in Ionic? I need to eject CRA to customise my Webpack.


Hey there! At the moment, the CLI is hard-coded to call react-scripts directly. We should probably revisit this and setup a script that we can run from package.json.

Yeah would be awesome if Ionic/Capacitor supports that.

Although it’s not really a show stopper but any eta when that will roll?

Thanks in advance!

Indeed, that would be great. react-scripts pulls in loads of unnecessary dependencies.