Skip to content

Commit

Permalink
fix(player): cdn loading wrong version of media captions
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Oct 8, 2023
1 parent 6077707 commit 43dc2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vidstack/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ function defineCDN({ dev = false, layouts = false } = {}) {
dir: dev || !layouts ? 'cdn' : 'cdn/with-layouts',
chunkFileNames: `chunks/vidstack-[hash].js`,
paths: {
'media-icons': 'https://cdn.jsdelivr.net/npm/media-icons/dist/lazy.js',
'media-captions': 'https://cdn.jsdelivr.net/npm/media-captions/dist/prod.js',
'media-icons': 'https://cdn.jsdelivr.net/npm/media-icons@next/dist/lazy.js',
'media-captions': 'https://cdn.jsdelivr.net/npm/media-captions@next/dist/prod.js',
},
manualChunks(id) {
if (dev) return output; // no chunks in dev
Expand Down

0 comments on commit 43dc2e7

Please sign in to comment.