const path = require('path'); const babelConfig = require('../../babel.config.js'); module.exports = { ...babelConfig, plugins: [ ...babelConfig.plugins, ['module-resolver', { root: path.join(__dirname, 'src/components'), alias: { src: path.join(__dirname, 'src'), Actions: path.join(__dirname, 'src/actions/'), Constants: path.join(__dirname, 'src/constants/'), Formats: path.join(__dirname, 'src/formats/'), Integrations: path.join(__dirname, 'src/integrations/'), Lib: path.join(__dirname, 'src/lib/'), Reducers: path.join(__dirname, 'src/reducers/'), Redux: path.join(__dirname, 'src/redux/'), Routing: path.join(__dirname, 'src/routing/'), ValueObjects: path.join(__dirname, 'src/valueObjects/'), } }], ], };