Skip to main content

# babelConfig

    const babelConfig: {
      env: {
         development: {
            plugins: (
               | string
               | (
               | string
               | {
               displayName: boolean;
            })[])[];
         };
         production: {
            plugins: (
               | string
               | (
               | string
               | {
               displayName: boolean;
               pure: boolean;
             })[]
               | (
               | string
               | {
               exclude: string[];
            })[])[];
         };
         test: {
            plugins: (
               | string
               | (
               | string
               | {
               displayName: boolean;
             })[]
               | (
               | string
               | {
               identifiers: {
                  end: string;
                  start: string;
               }[];
               requireDirective: boolean;
            })[])[];
         };
      };
      ignore: RegExp[];
      plugins: (
         | string
         | (
         | string
         | {
         alias: {
            @: string;
         };
         stripExtensions: never[];
       })[]
         | (
         | string
         | {
         displayName: boolean;
       })[]
         | (
         | string
         | {
         regenerator: boolean;
      })[])[];
      presets: (
         | string
         | (
         | string
         | {
         modules: string | boolean;
         targets: {
            node: string;
         };
       }
         | {
         corejs: {
            proposals: boolean;
            version: string;
         };
         modules: string | boolean;
         useBuiltIns: string;
       })[]
         | (
         | string
         | {
         runtime: string;
      })[])[];
      sourceType: string;
    };

## Type Declaration​

### env​

    env: {
      development: {
         plugins: (
            | string
            | (
            | string
            | {
            displayName: boolean;
         })[])[];
      };
      production: {
         plugins: (
            | string
            | (
            | string
            | {
            displayName: boolean;
            pure: boolean;
          })[]
            | (
            | string
            | {
            exclude: string[];
         })[])[];
      };
      test: {
         plugins: (
            | string
            | (
            | string
            | {
            displayName: boolean;
          })[]
            | (
            | string
            | {
            identifiers: {
               end: string;
               start: string;
            }[];
            requireDirective: boolean;
         })[])[];
      };
    };

#### env.development​

    development: {
      plugins: (
         | string
         | (
         | string
         | {
         displayName: boolean;
      })[])[];
    };

#### env.development.plugins​

    plugins: (
      | string
      | (
      | string
      | {
      displayName: boolean;
    })[])[];

#### env.production​

    production: {
      plugins: (
         | string
         | (
         | string
         | {
         displayName: boolean;
         pure: boolean;
       })[]
         | (
         | string
         | {
         exclude: string[];
      })[])[];
    };

#### env.production.plugins​

    plugins: (
      | string
      | (
      | string
      | {
      displayName: boolean;
      pure: boolean;
    })[]
      | (
      | string
      | {
      exclude: string[];
    })[])[];

#### env.test​

    test: {
      plugins: (
         | string
         | (
         | string
         | {
         displayName: boolean;
       })[]
         | (
         | string
         | {
         identifiers: {
            end: string;
            start: string;
         }[];
         requireDirective: boolean;
      })[])[];
    };

#### env.test.plugins​

    plugins: (
      | string
      | (
      | string
      | {
      displayName: boolean;
    })[]
      | (
      | string
      | {
      identifiers: {
         end: string;
         start: string;
      }[];
      requireDirective: boolean;
    })[])[];

### ignore​

    ignore: RegExp[];

### plugins​

    plugins: (
      | string
      | (
      | string
      | {
      alias: {
         @: string;
      };
      stripExtensions: never[];
    })[]
      | (
      | string
      | {
      displayName: boolean;
    })[]
      | (
      | string
      | {
      regenerator: boolean;
    })[])[];

### presets​

    presets: (
      | string
      | (
      | string
      | {
      modules: string | boolean;
      targets: {
         node: string;
      };
    }
      | {
      corejs: {
         proposals: boolean;
         version: string;
      };
      modules: string | boolean;
      useBuiltIns: string;
    })[]
      | (
      | string
      | {
      runtime: string;
    })[])[];

### sourceType​

    sourceType: string = 'unambiguous';