BabelMinify can because it is just a set of Babel plugins, and Babel already understands new syntax with our parser Babylon.It's currently in 0.x, so we don't recommend using it in production.Ĭheckout our CONTRIBUTING.md if you want to help out! RequirementsĬurrent tools don't support targeting the latest version of ECMAScript. Table of Contentsīabel-minify is an experimental project that attempts to use Babel's toolchain (for compilation) to do something in a similar vein, minification. Historical note: babel-minify was renamed from babili. babel-minify is consumable via API, CLI, or Babel preset.An ES6+ aware minifier based on the Babel toolchain.
0 Comments
Leave a Reply. |