Tuesday, 20 August 2013

extract html templates in js tree with brunch compiler

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.
example:
js/
-- main/
----main.js
----main.html
--sub/
----sub,js
----sub.html
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.

No comments:

Post a Comment