# Moduel Exports is not working

**URL:** <https://forums.fusetools.com/t/moduel-exports-is-not-working/1172>\
**Category:** How-to Discussions\
**Created:** [March 10, 2017, 5:18am UTC](https://forums.fusetools.com/t/moduel-exports-is-not-working/1172 "2017-03-10T05:18:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![0427hjy](https://avatars.discourse-cdn.com/v4/letter/0/94ad74/32.png) [@0427hjy](https://forums.fusetools.com/u/0427hjy)\
**Post date:** [March 10, 2017, 5:18am UTC](https://forums.fusetools.com/t/moduel-exports-is-not-working/1172/1 "2017-03-10T05:18:55Z")

</div>

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" };

---

<div class="post-metadata">

**Author:** ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)\
**Post date:** [March 10, 2017, 10:47am UTC](https://forums.fusetools.com/t/moduel-exports-is-not-working/1172/2 "2017-03-10T10:47:05Z")

</div>

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"`.

---

<div class="post-metadata">

**Author:** ![0427hjy](https://avatars.discourse-cdn.com/v4/letter/0/94ad74/32.png) [@0427hjy](https://forums.fusetools.com/u/0427hjy)\
**Post date:** [March 13, 2017, 1:20am UTC](https://forums.fusetools.com/t/moduel-exports-is-not-working/1172/3 "2017-03-13T01:20:33Z")

</div>

Thank you very much!! It helped!!
