1.0.12 • Published 9 years ago

babel-plugin-decomma v1.0.12

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

babel-plugin-decomma

Removes comma expressions.

Example

Input:

const val = (0, a.func)();
const nested = (1, (2, (3, NaN)));
if ((0, b.bar)()) {
}

Output:

0;
const val = a.func();
1;
2;
3;
const nested = NaN;
0;
if (b.bar()) {
}

Currently no optimization is performed, like removing the constant values that are not assigned to anything. This is on the TODO list.

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago