babel-preset-mjs-babili

0.0.5 • Public • Published

babel-preset-mjs-babili

Babel preset to minify mjs code.

Features

Restriction Solution
Sequence expressions are not supported by mjs. log(),log() -> [log(),log()].pop()

Usage

This preset should be hit after babili, which should be hit after babel-preset-mjs.

.babelrc:

{
  "presets": [
    "mjs-babili",
    "mjs"
  ]
}

License

Licensed under MIT license.

Copyright (C) 2017 Karim Alibhai.

Package Sidebar

Install

npm i babel-preset-mjs-babili

Weekly Downloads

5

Version

0.0.5

License

MIT

Last publish

Collaborators

  • karimsa