Skip to content

Softmotions/gppfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 -->

GPP preprocessor documentation

About

GPP preprocessor integrated into Browserify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published