how to make brunch copy image files into public/images

560 views Asked by At

I installed jquery-ui using npm. How can I copy node_modules/jquery-ui/themes/.../images/*.png to public/images directory in Brunch build? I do not want to manually copy files under assets/

2

There are 2 answers

0
koducu On

after-brunch plug-in does the trick. You can execute arbitrary cmd commands after the build using this plug-in. Many thanks to Creative-Licence-Digital...

0
Paul Miller On

Or, you can create a symbolic link from node_modules to app/assets.