import path from 'path';

const root = '/home/intlc/projects/proxmox/the-order';

export default {
  resolve: {
    alias: {
      '@the-order/auth': path.join(root, 'packages/auth/src/index.ts'),
      '@the-order/shared': path.join(root, 'packages/shared/src/index.ts'),
      '@the-order/schemas': path.join(root, 'packages/schemas/src/index.ts'),
      '@the-order/database': path.join(root, 'packages/database/src/index.ts'),
      '@the-order/payment-gateway': path.join(root, 'packages/payment-gateway/src/index.ts'),
    },
  },
  test: {
    environment: 'node',
  },
};
