Skip to content

Tag: require

List javascript urls of a page

is there a way I can extract the list of all the JS imported in a page, maybe via browser console? I’m not looking for only the ones imported via , but also the ones imported by other js scripts. So, let’s say I have a page that is using requirejs, and during the usage of the page, many other

Require non-static image in React Native

I have a special folder with images in my React Native application. Path to these pictures is stored in the special object that is passed as prop to the Card component. So, I can’t use require, because it uses only static path string. How can I use load these images from my props? There is my try: Answe…