GroceriStar/cards-wrapper-component

View on GitHub
babel.config.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict'

const path = require('path')

const presets = [
  '@babel/preset-env',
  '@babel/preset-react',
]

const plugins = [
  [
    require.resolve('@babel/plugin-proposal-class-properties')
  ],
  [
    require.resolve('babel-plugin-module-resolver'),
    {
      root: ['./src/'],
      alias: {
        '~': './src/components',
        '@v': './src/views'
      }
    }
    // require.resolve('@babel/plugin-module-resolver')
  ]

]

module.exports = { presets, plugins }