babel-plugin-transform-fold-constant-expressions
v1.1.1
Published
optimize javascript code with constant expression folding
Downloads
11
Readme
Babel Plugin Transform Fold Constant Expressions
:warning: UNMAINTAINED :warning:
This package is no longer maintained.
Babili or Prepack are two excellent alternatives.
optimize javascript code with constant expression folding.
Example
Input
var a = true || false;
var b = 2 + 3 * 8;
Output
var a = true;
var b = 26;