I'm having issue with building my release apk. Problem is occurred when I installed lightstreamer-client module. On their site they say you should add this line to .babelrc:
"ignore": [ "./node_modules/lightstreamer-client/lightstreamer" ]
I added it and it solved the problem for debug apk version but it remains when I try to build release apk. To me it seems as it ignores .babelrc.
Additional info: It breaks during :app:bundleReleaseJsAndAssets, error location: \node_modules\babel-core\lib\transformation\file\index.js:590
Thanks in advance.