Просмотр исходного кода

fix(email-plugin): Fix incorrect relative imports

Michael Bromley 6 лет назад
Родитель
Сommit
561c793b61
1 измененных файлов с 2 добавлено и 3 удалено
  1. 2 3
      packages/email-plugin/src/event-handler.ts

+ 2 - 3
packages/email-plugin/src/event-handler.ts

@@ -1,6 +1,5 @@
-import { LanguageCode } from '../../common/lib/generated-types';
-import { Omit } from '../../common/lib/omit';
-import { Type } from '../../common/lib/shared-types';
+import { LanguageCode } from '@vendure/common/lib/generated-types';
+import { Type } from '@vendure/common/lib/shared-types';
 
 import { EmailEventListener, EmailTemplateConfig, SetTemplateVarsFn } from './event-listener';
 import { EventWithAsyncData, EventWithContext, LoadDataFn } from './types';