Open
Description
Description
When assembling a react native app with graphql, the generated bundle has plain text warnings showing queries and mutations in plain text.
Steps to reproduce
- Install dependencies with
npm i
- Assemble the bundle with
cd android && ./gradlew bundleRelease
- Preview the bundle on
/android/app/build/generated/assets/createBundleReleaseJsAndAssets
- Verify that queries and mutations are there in plain text
React Native Version
0.77.1
Affected Platforms
Build - Linux
Output of npx @react-native-community/cli info
System:
OS: Linux 6.2 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
CPU: (16) x64 AMD Ryzen 7 7840HS with Radeon 780M Graphics
Memory: 2.82 GB / 27.09 GB
Shell:
version: 5.2.21
path: /bin/bash
Binaries:
Node:
version: 22.13.0
path: ~/.nvm/versions/node/v22.13.0/bin/node
Yarn: Not Found
npm:
version: 11.1.0
path: ~/.nvm/versions/node/v22.13.0/bin/npm
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java:
version: 17.0.14
path: /usr/bin/javac
Ruby:
version: 3.3.0
path: /home/linuxbrew/.linuxbrew/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 15.0.1
wanted: 15.0.1
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.77.1
wanted: 0.77.1
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: false
Stacktrace or Logs
Not available
Reproducer
https://github.com/filipecarvalho10/react-native-template
Activity