@babel/plugin-transform-modules-umd

  • Version 8.0.1
  • Published
  • 24.8 kB
  • 2 dependencies
  • MIT license

Install

npm i @babel/plugin-transform-modules-umd
yarn add @babel/plugin-transform-modules-umd
pnpm add @babel/plugin-transform-modules-umd

Overview

This plugin transforms ES2015 modules to UMD

Index

Functions

function _default

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

    Interfaces

    interface Options

    interface Options extends PluginOptions {}

      property allowTopLevelThis

      allowTopLevelThis?: boolean;

        property exactGlobals

        exactGlobals?: boolean;

          property globals

          globals?: Record<string, string>;

            property importInterop

            importInterop?: RewriteModuleStatementsAndPrepareHeaderOptions['importInterop'];

              property loose

              loose?: boolean;
              • Deprecated

                Use the constantReexports and enumerableModuleMeta assumptions instead.

              property noInterop

              noInterop?: boolean;

                property strict

                strict?: boolean;

                  property strictMode

                  strictMode?: boolean;

                    Package Files (1)

                    Dependencies (2)

                    Dev Dependencies (3)

                    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-modules-umd.

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