diff --git a/packages/html/html-media-elements/src/media-provider.ts b/packages/html/html-media-elements/src/media-provider.ts index 370c028b..52657975 100644 --- a/packages/html/html-media-elements/src/media-provider.ts +++ b/packages/html/html-media-elements/src/media-provider.ts @@ -1,4 +1,3 @@ -// @ts-ignore - Module resolution issues with @open-wc/context-protocol import { ProviderMixin } from '@open-wc/context-protocol'; import { createMediaStore } from '@vjs-10/media-store'; diff --git a/packages/html/html/src/components/connected/media-mute-button.ts b/packages/html/html/src/components/connected/media-mute-button.ts index b3e5f090..d4091b2d 100644 --- a/packages/html/html/src/components/connected/media-mute-button.ts +++ b/packages/html/html/src/components/connected/media-mute-button.ts @@ -1,4 +1,3 @@ -// @ts-ignore - Module resolution issues with @open-wc/context-protocol import { ConsumerMixin } from '@open-wc/context-protocol'; // NOTE: This should be fairly generic code that could itself be abstracted into configuration for a more generic factory implementation. (CJP) diff --git a/packages/html/html/src/components/connected/media-play-button.ts b/packages/html/html/src/components/connected/media-play-button.ts index 79b433d3..1f2697fa 100644 --- a/packages/html/html/src/components/connected/media-play-button.ts +++ b/packages/html/html/src/components/connected/media-play-button.ts @@ -1,4 +1,3 @@ -// @ts-ignore - Module resolution issues with @open-wc/context-protocol import { ConsumerMixin } from '@open-wc/context-protocol'; // NOTE: This should be fairly generic code that could itself be abstracted into configuration for a more generic factory implementation. (CJP) diff --git a/packages/html/html/src/media-container.ts b/packages/html/html/src/media-container.ts index fd3c1141..9357db10 100644 --- a/packages/html/html/src/media-container.ts +++ b/packages/html/html/src/media-container.ts @@ -1,4 +1,3 @@ -// @ts-ignore - Module resolution issues with @open-wc/context-protocol import { ConsumerMixin } from '@open-wc/context-protocol'; export function getTemplateHTML() { diff --git a/packages/html/html/src/media-provider.ts b/packages/html/html/src/media-provider.ts index 46779d87..4a799112 100644 --- a/packages/html/html/src/media-provider.ts +++ b/packages/html/html/src/media-provider.ts @@ -1,4 +1,3 @@ -// @ts-ignore - Module resolution issues with @open-wc/context-protocol import { ProviderMixin } from '@open-wc/context-protocol'; import { createMediaStore } from '@vjs-10/media-store'; diff --git a/tsconfig.base.json b/tsconfig.base.json index f4a74190..c0b6bf43 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -3,7 +3,7 @@ "target": "ES2020", "lib": ["ES2020", "DOM", "DOM.Iterable"], "module": "ESNext", - "moduleResolution": "node", + "moduleResolution": "bundler", "allowJs": true, "checkJs": false, "declaration": true,