Whole content of app.json in build result for Web

When building for web, some useless and potentially sensitive (such as hooks configuration, project folder on local computer, …) data from app.json are in
included in the bundle.

Easy to test with a new project, build for web, look into the JS chunks for “staticConfigPath” or any configuration added to app.json.

Expo CLI 4.10.1 environment info:
System:
OS: Windows 10 10.0.19042
Binaries:
Node: 14.15.5 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 7.10.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5900203
npmPackages:
expo: ~42.0.1 => 42.0.3
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-42.0.0.tar.gz => 0.63.2
react-native-web: ~0.13.12 => 0.13.18
Expo Workflow: managed

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.