I have a javascript file that looks like below. He has a lot of objects (1000+). Since we cannot use a dynamic name for images in a-native reaction, this is my job.
"grinning": { "image": require('./images/1f600.png'), "shortname": ":grinning:", }
I need this file in some other native function reaction and a loop to display all the images. But an internal error requires too many images in the javascript file.
{"type":"InternalError","message":"react-packager has encountered an internal error, please check your terminal error output for details"}
The terminal says
fs operation timeout
This works if I delete multiple entries from a file.
Any suggestion or best approach
Nakib source share