SyntaxError: Cannot use import statement outside a module | on android :app:bundleReleaseJsAndAssets – React native
I am trying to upgrade my project from RN v0.61.4 to v0.63.4. I am able to run debug builds on android but release builds are throwing 1 error in gradle task :app:bundleReleaseJsAndAssets Stacktrace (node:77926) Warning: To load an ES module,…