@types/babel__preset-env

  • Version 7.9.7
  • Published
  • 7.05 kB
  • No dependencies
  • MIT license

Install

npm i @types/babel__preset-env
yarn add @types/babel__preset-env
pnpm add @types/babel__preset-env

Overview

TypeScript definitions for @babel/preset-env

Index

Interfaces

interface Options

interface Options {}

    property bugfixes

    bugfixes?: boolean | undefined;

      property configPath

      configPath?: string | undefined;

        property corejs

        corejs?: CorejsOption | undefined;

          property debug

          debug?: boolean | undefined;

            property exclude

            exclude?: PluginList | undefined;

              property forceAllTransforms

              forceAllTransforms?: boolean | undefined;

                property ignoreBrowserslistConfig

                ignoreBrowserslistConfig?: boolean | undefined;

                  property include

                  include?: PluginList | undefined;

                    property loose

                    loose?: boolean | undefined;

                      property modules

                      modules?: ModuleOption | undefined;

                        property shippedProposals

                        shippedProposals?: boolean | undefined;

                          property spec

                          spec?: boolean | undefined;

                            property targets

                            targets?: TargetsOptions | undefined;

                              property useBuiltIns

                              useBuiltIns?: UseBuiltInsOption | undefined;

                                Type Aliases

                                type BrowserslistQuery

                                type BrowserslistQuery = string;

                                  type CorejsOption

                                  type CorejsOption = CorejsVersion | { version: CorejsVersion; proposals: boolean };

                                    type CorejsVersion

                                    type CorejsVersion = 2 | 3 | string;
                                    • https://babeljs.io/docs/babel-preset-env#corejs

                                    type ModuleOption

                                    type ModuleOption = 'amd' | 'umd' | 'systemjs' | 'commonjs' | 'cjs' | 'auto' | false;
                                    • https://babeljs.io/docs/en/babel-preset-env#modules

                                    type PluginList

                                    type PluginList = readonly PluginListItem[];

                                      type PluginListItem

                                      type PluginListItem = string | RegExp;

                                        type Target

                                        type Target =
                                        | 'Android'
                                        | 'Baidu'
                                        | 'BlackBerry'
                                        | 'bb'
                                        | 'Chrome'
                                        | 'ChromeAndroid'
                                        | 'and_chr'
                                        | 'Edge'
                                        | 'Electron'
                                        | 'Explorer'
                                        | 'ie'
                                        | 'ExplorerMobile'
                                        | 'ie_mob'
                                        | 'Firefox'
                                        | 'ff'
                                        | 'FirefoxAndroid'
                                        | 'and_ff'
                                        | 'iOS'
                                        | 'ios_saf'
                                        | 'Node'
                                        | 'Opera'
                                        | 'OperaMini'
                                        | 'op_mini'
                                        | 'OperaMobile'
                                        | 'op_mob'
                                        | 'QQAndroid'
                                        | 'and_qq'
                                        | 'Safari'
                                        | 'Samsung'
                                        | 'UCAndroid'
                                        | 'and_uc'
                                        | 'kaios';
                                        • List of supported Browserslist targets: Source: https://github.com/browserslist/browserslist#browsers

                                        type TargetsOptions

                                        type TargetsOptions =
                                        | BrowserslistQuery
                                        | readonly BrowserslistQuery[]
                                        | { [key in Target]?: string }
                                        | { esmodules: true }
                                        | { node: string | 'current' | true }
                                        | { safari: string | 'tp' }
                                        | { browsers: string | readonly string[] };
                                        • "targets" config option: https://babeljs.io/docs/en/babel-preset-env#targets

                                        type UseBuiltInsOption

                                        type UseBuiltInsOption = 'usage' | 'entry' | false;

                                          Package Files (1)

                                          Dependencies (0)

                                          No dependencies.

                                          Dev Dependencies (0)

                                          No dev dependencies.

                                          Peer Dependencies (0)

                                          No peer dependencies.

                                          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/@types/babel__preset-env.

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