简体   繁体   English

React Native在哪里存储生成的javascript包?

[英]Where does React Native store the generated javascript bundle?

I just added a lib to remove console.log in my React Native (JavaScript) code. 我刚刚添加了一个lib来删除我的React Native(JavaScript)代码中的console.log

I wanted to check if the generated bundle does not contain console.log as expected. 我想检查生成的包是否按预期包含console.log

Where can I find that bundle? 我在哪里可以找到那捆?

My app.aab is here 我的app.aab就在这里
./android/app/build/outputs/bundle/release/app.aab

And when I unzip it (yes, it's a zip file), I don't see .js file there 当我解压缩它(是的,它是一个zip文件)时,我没有看到.js文件

在我的情况下,我只是解压缩我的aab并发现我的JS代码缩小为:app / base / assets / index.android.bundle

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM