E_lexy E_lexy - 1 year ago 76
AngularJS Question

extract html templates in js tree with brunch compiler

I have an AngularJS project that I moved to brunch recently where all the templates are stored in side the javascript tree.


-- main/

I haven't been able to figure out how to configure Brunch.io to extract the html files from the js tree and publish them under public/

As a workaround I copied the js tree in assets and removed all the js files.

I'd like to keep the templates with the js files if possible.

Answer Source

Put stuff in directory assets e.g. app/assets -- it will be simply copied to public