Skip to content

Commit

Permalink
fix: move package exports default condition to be last (#1013)
Browse files Browse the repository at this point in the history
fixes #1011

Co-authored-by: Stephanie Kim <stephanie.kim@glassdoor.com>
  • Loading branch information
sykim4 and Stephanie Kim authored Nov 20, 2024
1 parent 27b6858 commit 192aa79
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions packages/mux-active-viewer-count/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
},
"types": "./dist/types/index.d.ts",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-audio-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-audio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
12 changes: 6 additions & 6 deletions packages/mux-player-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
},
"./lazy": {
"import": "./dist/lazy.mjs",
"default": "./dist/lazy.mjs",
"types@<4.3.5": "./dist/types-ts3.4/lazy.d.ts",
"types": "./dist/types/lazy.d.ts"
"types": "./dist/types/lazy.d.ts",
"default": "./dist/lazy.mjs"
},
"./themes/*": {
"import": "./dist/themes/*.mjs",
"require": "./dist/themes/*.cjs.js",
"default": "./dist/themes/*.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/themes/*.d.ts",
"types": "./dist/types/themes/*.d.ts"
"types": "./dist/types/themes/*.d.ts",
"default": "./dist/themes/*.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
},
"./themes/microvideo": {
"import": "./dist/themes/microvideo/index.mjs",
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-uploader-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-uploader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-video-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/mux-video/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/playback-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js",
"types@<4.3.5": "./dist/types-ts3.4/index.d.ts",
"types": "./dist/types/index.d.ts"
"types": "./dist/types/index.d.ts",
"default": "./dist/index.cjs.js"
}
},
"types": "./dist/types/index.d.ts",
Expand Down

0 comments on commit 192aa79

Please sign in to comment.