var _mapInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/map");

var _context;

// ***********************************************************
// This example plugins/index.js can be used to load plugins
//
// You can change the location of this file or turn off loading
// the plugins file with the 'pluginsFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/plugins-guide
// ***********************************************************
//#!/usr/bin/env node
const path = require('path'); /// compile meniga-cli code


require('@babel/register')({
  // eslint-disable-line
  babelrc: false,
  ignore: [path.join(__dirname, './index.js')],
  only: [path.join(__dirname, '../../')],
  presets: [[require.resolve('@babel/preset-env'), {
    targets: {
      node: 'current'
    }
  }]],
  plugins: _mapInstanceProperty(_context = [// 'babel-plugin-transform-export-extensions',
  '@babel/plugin-syntax-dynamic-import', '@babel/plugin-transform-runtime', '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-export-default-from', '@babel/plugin-proposal-class-properties', 'babel-plugin-add-module-exports', 'babel-plugin-dynamic-import-node']).call(_context, require.resolve)
});

module.exports = require('./webpack');