0.0.6 • Published 7 years ago
webpack-macro-loader v0.0.6
macro-loader
C++ like macro syntax support for Webpack.
**NOTE: the master branch (0.1+) only works with webpack 2.x.
It allows you to write your components in this format:
#define mobileOnly
#ifdefine mobileOnly
your piece of code here will be compiled into the bundle
#else
your another piece of code here will not compiled