@babel/plugin-transform-runtime

  • Version 8.0.0
  • Published
  • 19.9 kB
  • 2 dependencies
  • MIT license

Install

npm i @babel/plugin-transform-runtime
yarn add @babel/plugin-transform-runtime
pnpm add @babel/plugin-transform-runtime

Overview

Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals

Index

Functions

function _default

_default: (
api: _babel_core.PluginAPI,
options: Options,
dirname: string
) => _babel_core.PluginObject<any>;

    Interfaces

    interface Options

    interface Options {}

      property absoluteRuntime

      absoluteRuntime?: boolean;

        property corejs

        corejs?:
        | string
        | number
        | {
        version: string | number;
        proposals?: boolean;
        };

          property helpers

          helpers?: boolean;

            property moduleName

            moduleName?: null | string;

              property version

              version?: string;

                Package Files (1)

                Dependencies (2)

                Dev Dependencies (7)

                Peer Dependencies (1)

                Badge

                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@babel/plugin-transform-runtime.

                • Markdown
                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@babel/plugin-transform-runtime)
                • HTML
                  <a href="https://www.jsdocs.io/package/@babel/plugin-transform-runtime"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>