JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q24721F
  • License BSD-3-Clause

Require babel-register unless the running node.js >= the .nvmrc version

Package Exports

  • maybabel

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (maybabel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

maybabel

Drop-in replacement for babel-register that turns into a no-op if the running node.js version is >= the node.js version listed in your project's .nvmrc.

This allows you to avoid transpilation in node.js versions that you deem "good enough" to support the feature set required by your project.

The rationale is described here: https://github.com/babel/babel/issues/6163

I hope babel-preset-env or babel-register adopts this capability so this module won't have to exist :)