How to use the @babel/standalone.transformFromAst function in @babel/standalone

To help you get started, we’ve selected a few @babel/standalone examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github v8 / web-tooling-benchmark / src / babel-benchmark.js View on Github external
return payloads.map(({ ast, code, options }) =>
      Babel.transformFromAst(ast, code, options)
    );