jpp

1.0.0 • Public • Published

jpp

browserify v2 plugin for cpp like preprocessing

example

foo.coffee:

console.log("here I am")
#ifdef DEBUG 
console.log("DEBUG: post here I am")
#endif 

now when you use browserify command, or your own build script, and you include --DDEBUG on the command line, two line will be logged. If you don't include this argument on the command line, one line will be printed.

Dependents (1)

Package Sidebar

Install

npm i jpp

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • skrat