Skip to content

Commit

Permalink
fix: Updated mux-player imports to fix errors with bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Razuvaev authored and Ilya Razuvaev committed Dec 21, 2024
1 parent 12b9a23 commit 7f6d500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mux-player/src/themes/classic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import theme from './classic.html';
import { document, globalThis } from '../../polyfills';
import { MediaThemeElement } from 'media-chrome/dist/media-theme-element.js';
import 'media-chrome/menu';
import 'media-chrome/dist/menu';

const template = document.createElement('template');
if ('innerHTML' in template) template.innerHTML = theme;
Expand Down
2 changes: 1 addition & 1 deletion packages/mux-player/src/themes/gerwig/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import theme from './gerwig.html';
import { document, globalThis } from '../../polyfills';
import { MediaThemeElement } from 'media-chrome/dist/media-theme-element.js';
import 'media-chrome/menu';
import 'media-chrome/dist/menu';

const template = document.createElement('template');
if ('innerHTML' in template) template.innerHTML = theme;
Expand Down

0 comments on commit 7f6d500

Please sign in to comment.