How to use the @babel/plugin-transform-function-name.default function in @babel/plugin-transform-function-name

To help you get started, we’ve selected a few @babel/plugin-transform-function-name examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github fusepilot / babel-preset-extendscript / src / index.js View on Github external
return () => ({
    plugins: [
      [require('@babel/plugin-transform-template-literals').default, { loose }],
      require('@babel/plugin-transform-literals').default,
      require('@babel/plugin-transform-function-name').default,
      [require('@babel/plugin-transform-arrow-functions').default],
      require('@babel/plugin-transform-block-scoped-functions').default,
      [require('@babel/plugin-transform-classes').default, { loose }],
      require('@babel/plugin-transform-object-super').default,
      require('@babel/plugin-transform-shorthand-properties').default,
      require('@babel/plugin-transform-duplicate-keys').default,
      [
        require('@babel/plugin-transform-computed-properties').default,
        { loose },
      ],
      [require('@babel/plugin-transform-for-of').default, { loose }],
      require('@babel/plugin-transform-sticky-regex').default,
      require('@babel/plugin-transform-unicode-regex').default,
      require('@babel/plugin-check-constants').default,
      [require('@babel/plugin-transform-spread').default, { loose }],
      require('@babel/plugin-transform-parameters').default,

@babel/plugin-transform-function-name

Apply ES2015 function.name semantics to all functions

MIT
Latest version published 2 months ago

Package Health Score

95 / 100
Full package analysis

Popular @babel/plugin-transform-function-name functions