1.1.1 • Published 7 years ago

babel-plugin-transform-fold-constant-expressions v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Babel Plugin Transform Fold Constant Expressions

Unmaintained Build Status devDependency Status

: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;