Skip to content

Latest commit

 

History

31 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacroCC

Build Status Coverage Status npm version Join the chat Dependency Status

FOSSA Status

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!')

License

MIT

About

JavaScript Conditional Compilation Macro.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages