Search code examples
javascriptbrunch

How do I configure Brunch.io to copy the index.js file from app/ to public/


Brunch is currently building my app and combining the css/js from the app and /app/assets folder but it doesn't copy the index.js file from the root of the app folder. This is the index file which should become index.html inside the public folder.

I cannot work out how to config Brunch to do this. Any ideas?

Current Config: http://jsbin.com/lakapaxalamo/1

Folder Structure: enter image description here


Solution

  • Your index.html should be inside app/assets