Sha256: e0807289e4093ffd5244b4567b2dbc2f511d9729a92a60bfd8b147fff91270a8

Contents?: true

Size: 437 Bytes

Versions: 28

Compression:

Stored size: 437 Bytes

Contents

/**
 * Babel config
 *
 * @type {import('@babel/core').ConfigFunction}
 */
module.exports = {
  presets: [
    [
      '@babel/preset-env',
      {
        bugfixes: true,
        corejs: '3.33',
        loose: true,
        shippedProposals: true,
        useBuiltIns: 'usage'
      }
    ]
  ],

  plugins: [
    ['@babel/plugin-transform-react-jsx', { pragma: 'h' }]
  ],

  env: {
    test: {
      plugins: ['istanbul']
    }
  }
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
govuk_publishing_components-45.7.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.6.1 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.6.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.5.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.4.1 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.4.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.3.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.2.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.1.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-45.0.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.11.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.10.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.9.1 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.9.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.8.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.7.1 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.7.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.6.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.5.0 node_modules/accessible-autocomplete/babel.config.js
govuk_publishing_components-44.4.2 node_modules/accessible-autocomplete/babel.config.js