Closed mklasinc closed 2 months ago
+1
+1
Thanks for reporting. A fix for this will be part of the next release, which should happen next week,
Super, thanks for the awesome work in creating and maintaining this plugin!
hey @sgulseth when is the next release? thanks
@diboune It should come out later today!
Describe the bug
MUX video plugin crashes Sanity's new Typegen script script, which prevents Sanity users from using the Typegen feature on projects using the MUX plugin.
To Reproduce
Steps to reproduce the behavior:
sanity.config.ts
and add a MUX input field to one of the document schemasnpx sanity schema extract
in the terminalTypeError: Failed to load configuration file "/Users/miha.klasinc/Documents/GitHub/portfolio/sanity.config.ts": l.matchMedia is not a function at jo (~/Documents/GitHub/portfolio/node_modules/@mux/mux-player/dist/index.cjs.js:145:8374) at Object. (~/Documents/GitHub/portfolio/node_modules/@mux/mux-player/dist/index.cjs.js:145:8586)
at Object.newLoader [as .js] (~/Documents/GitHub/portfolio/node_modules/sanity/node_modules/esbuild-register/dist/node.js:2262:9)
at extensions..js (~/Documents/GitHub/portfolio/node_modules/sanity/node_modules/esbuild-register/dist/node.js:4838:24)
@sanity/cli (global) 3.37.2 (up to date) @sanity/icons 2.11.8 (up to date) @sanity/image-url 1.0.2 (up to date) @sanity/types 3.37.2 (up to date) @sanity/ui 2.1.2 (latest: 2.1.3) @sanity/vision 3.27.1 (latest: 3.37.2) sanity 3.37.2 (up to date)
10.2.4 v20.11.1