Skip to content

Commit

Permalink
fix(player): do not use absolute chunk urls for legacy cdn files
Browse files Browse the repository at this point in the history
closes #1357
  • Loading branch information
mihar-22 committed Jul 24, 2024
1 parent 47e0147 commit 600a9a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vidstack/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function defineCDNBundle({ dev = false, input, dir, file, legacy = false }) {
external: CDN_EXTERNAL_PACKAGES,
plugins: [
.../** @type {*} */ (npm.plugins),
{
!legacy && {
// This plugin rewrites chunk paths so our URL rewrites to jsDelivr work.
name: 'cdn-chunks',
async generateBundle(_, bundle) {
Expand Down

0 comments on commit 600a9a9

Please sign in to comment.