1.0.7 • Published 5 years ago

gppfy v1.0.7

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago