From 3715262cb3e12afd5cdecffb2603c20c584b3cb7 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Thu, 6 May 2021 21:58:48 +0200 Subject: [PATCH] fix imports --- src/components/postprocessing/vanruesc/EffectComposer.ts | 5 +++-- src/components/postprocessing/vanruesc/EffectPass.ts | 3 ++- src/components/postprocessing/vanruesc/Pass.ts | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/postprocessing/vanruesc/EffectComposer.ts b/src/components/postprocessing/vanruesc/EffectComposer.ts index e6ee76e..e4789f9 100644 --- a/src/components/postprocessing/vanruesc/EffectComposer.ts +++ b/src/components/postprocessing/vanruesc/EffectComposer.ts @@ -2,8 +2,9 @@ import { defineComponent, inject, InjectionKey, onUnmounted, provide } from 'vue import { Clock } from 'three' // @ts-ignore import * as PP from 'postprocessing' -// import { RendererInjectionKey, RendererPublicInterface } from '../../../build/trois' -import { RendererInjectionKey, RendererPublicInterface } from '../../../export' +import { RendererInjectionKey } from '../../../../build/trois.module.js' +import { RendererPublicInterface } from '../../../../build/trois' +// import { RendererInjectionKey, RendererPublicInterface } from '../../../export' export interface EffectComposerInterface { renderer: RendererPublicInterface diff --git a/src/components/postprocessing/vanruesc/EffectPass.ts b/src/components/postprocessing/vanruesc/EffectPass.ts index 68bb56a..55c0eff 100644 --- a/src/components/postprocessing/vanruesc/EffectPass.ts +++ b/src/components/postprocessing/vanruesc/EffectPass.ts @@ -2,7 +2,8 @@ import { defineComponent, inject, InjectionKey, onUnmounted, provide } from 'vue // @ts-ignore import * as PP from 'postprocessing' import { ComposerInjectionKey, EffectComposerInterface } from './EffectComposer' -import { RendererPublicInterface } from '../../../export' +import { RendererPublicInterface } from '../../../../build/trois' +// import { RendererPublicInterface } from '../../../export' export interface EffectPassInterface { composer: EffectComposerInterface diff --git a/src/components/postprocessing/vanruesc/Pass.ts b/src/components/postprocessing/vanruesc/Pass.ts index 5b8895f..fcc5f16 100644 --- a/src/components/postprocessing/vanruesc/Pass.ts +++ b/src/components/postprocessing/vanruesc/Pass.ts @@ -2,8 +2,8 @@ import { defineComponent, inject, onUnmounted, PropType } from 'vue' // @ts-ignore import * as PP from 'postprocessing' import { ComposerInjectionKey } from './EffectComposer' -// import { RendererPublicInterface } from '../../../build/trois' -import { RendererPublicInterface } from '../../../export' +import { RendererPublicInterface } from '../../../../build/trois' +// import { RendererPublicInterface } from '../../../export' type PassTypes = 'render' | 'blur'