Skip to content

Commit

Permalink
fix(player): cdn bundle chunk versions have skewed
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Apr 7, 2024
1 parent c95a8f5 commit 9c63ad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ async function publishCDN(version) {
cdnDir = path.resolve(pkgRoot, 'dist-cdn'),
cdnPkgPath = path.resolve(cdnDir, 'package.json');

await run('pnpm', ['run', '-F', 'vidstack', 'build:cdn']);

// Copy over styles.
fsExtra.copySync(path.resolve(pkgRoot, 'styles'), path.resolve(cdnDir, 'styles'));

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"packages/*"
],
"scripts": {
"build": "turbo run analyze build build:cdn types --filter=./packages/*",
"build:vidstack": "turbo run analyze build build:cdn types --filter=vidstack",
"build": "turbo run analyze build types --filter=./packages/*",
"build:vidstack": "turbo run analyze build types --filter=vidstack",
"build:react": "turbo run analyze build types --filter=react",
"changelog": "pnpm exec git cliff --output CHANGELOG.md",
"clean": "turbo run clean",
Expand Down

0 comments on commit 9c63ad9

Please sign in to comment.