Moduel Exports is not working

Hi.
I have a question regarding module exports
I’ve been trying to put image file name using javascript and module.exports
If I put the image path directly into File then it appears but when I am using javascript then it is not working.
what’s wrong with it? There is the code that I was working with
Thank you

module.exports = { image:"bank.png" };

Hey 0427hjy,

when you use JavaScript to define the file path, you have to make sure that the file is included in your bundle. What you have to do is, add the following to your .unoproj file in the "Includes" section: "bank.png:Bundle".

Alternatively, it might be better if you put all your assets into an Assets/ folder, and then the include would be: "Assets/*.png:Bundle".

Thank you very much!! It helped!!