@babel/plugin-transform-modules-amd

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

Install

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

Overview

This plugin transforms ES2015 modules to AMD

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 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-amd.

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