expo-desktop 0.1.27 → 0.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -475,9 +475,9 @@ const config = makeMetroConfig(getDefaultConfig(__dirname));
475
475
 
476
476
  const getPolyfills = config.serializer.getPolyfills;
477
477
  const windowsExpoPolyfill = require.resolve("./expo-polyfill.windows.js");
478
- config.serializer.getPolyfills = ({ platform }) => {
479
- const polyfills = getPolyfills(platform);
480
- if (platform === "windows") {
478
+ config.serializer.getPolyfills = (...args) => {
479
+ const polyfills = getPolyfills(...args);
480
+ if (args[0].platform === "windows") {
481
481
  polyfills.push(windowsExpoPolyfill);
482
482
  }
483
483
  return polyfills;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-desktop",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "Best-effort desktop support for Expo",
5
5
  "keywords": [
6
6
  "android",
@@ -37,8 +37,8 @@
37
37
  "@clack/prompts": "^1.2.0",
38
38
  "arktype": "^2.2.0",
39
39
  "citty": "^0.2.2",
40
- "expo-desktop-config-plugins": "^1.1.24",
41
- "expo-desktop-prebuild-config": "^1.0.11",
40
+ "expo-desktop-config-plugins": "^1.1.27",
41
+ "expo-desktop-prebuild-config": "^1.0.13",
42
42
  "glob": "^10.5.0",
43
43
  "kleur": "^4.1.5",
44
44
  "mustache": "^4.2.0",