From a7e603b5c6280df7eae0081725409f066bb5f3d5 Mon Sep 17 00:00:00 2001 From: Florian Guitton Date: Mon, 6 Apr 2020 13:23:45 +0100 Subject: [PATCH] Fixing Minio build target issue. --- packages/libraries/itmat-utils/src/objStore.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/libraries/itmat-utils/src/objStore.ts b/packages/libraries/itmat-utils/src/objStore.ts index 1466ae776..60f49ca56 100644 --- a/packages/libraries/itmat-utils/src/objStore.ts +++ b/packages/libraries/itmat-utils/src/objStore.ts @@ -1,5 +1,4 @@ -// eslint-disable-next-line @typescript-eslint/no-var-requires -const Minio = require('minio'); +import { default as Minio } from 'minio'; import { Logger } from './logger'; export interface IObjectStoreConfig {