macro-cc
v0.1.1
Published
JavaScript Conditional Compilation Macro.
Downloads
7
Maintainers
Readme
MacroCC
A useful javascript Conditional Compilation macro.
Example
//#define a = 233
var a = /*# a */ / 2
//#if a > 100
console.log(100)
//#else
console.log(0)
//#end
console.log('hello macroCC!')
cc:
var a = 233 / 2
console.log(100)
console.log('hello macroCC!')