GPP preprocessor integrated into Browserify
Use in browserify CLI:
browserify -t [ gppfy -D foo=bar -D foo2=bar2 -i include_macros ] ...
Javascript:
//#ifdef foo...//#endif //#ifeq @foo bar...//#endif var hereIsBar = '@foo'; // hereIsBar === 'foo'
HTML
<!--#ifeq @foo bar -->... <!--#endif -->