Skip to content

PSeON/babel-unsafe-optimizations

Repository files navigation

Unsafe optimizations babel pluings

This repo includes babel plugins which help minify JavaScript even more but with some minor restrictions.

Packages

A babel preset which enables all "unsafe-optimizations" plugins in the optimal order.

A plugin which transforms all "const" declarations to "let".

A plugin which creates local variables to store values of global variables.

A plugin which creates local variables to store the null value.

A plugin which creates local variables to store repeated strings.

A plugin which transforms normal functions to arrow functions.

License

ISC

About

Unsafe optimizations to reduce JavaScript code size

Resources

Stars

Watchers

Forks

Packages

No packages published