babel-minify is an experimental project that attempts to use Babel's toolchain (for compilation) to do something in a similar vein, minification. It's currently in 0.x, so we don't recommend using it in production. Current tools don't support targeting the latest version of ECMAScript. (yet). BabelMinify can because it is just a set of Babel plugins, and Babel already understands new syntax with our parser Babylon. When it's possible to only target browsers that support newer ES features, code sizes can be smaller because you don't have to transpile and then minify. When testing, it's recommended to run minifiers for production so less code is sent to end-users vs. in development where it can be an issue for readability when debugging. Options specific to a certain environment are merged into and overwritten non-env specific options.

Features

  • Babel Minify is best at targeting latest browsers
  • Can be used with the usual Babel es2015 preset to transpile down the code first.
  • Requires node >= 6
  • Requires babel >= 6.20.0
  • minify is still in beta
  • Run minifiers for production so less code is sent to end-users

Project Samples

Project Activity

See All Activity >

Categories

System

License

MIT License

Follow babel-minify

babel-minify Web Site

Other Useful Business Software
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of babel-minify!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript System Software

Registered

2021-12-16