Expo-cli "expo export" will it be removed?

Expo-cli have “expo export” or " npx expo export" can Export the static files of the app for hosting it on a web server
I wonder if this support will also be removed
If it is removed, is there any relative support for EAS that can be used to preview

Hi @wennjie

No, I do not believe that npx expo export is going to be removed.

See:

npx expo export output :

{
  "version": 0,
  "bundler": "metro",
  "fileMetadata": {
    "android": {
      "bundle": "bundles/android-53c708242f6a95e02295e715e7f27c0e.hbc",
      "assets": [
        { "path": "assets/778ffc9fe8773a878e9c30a6304784de", "ext": "png" },
        { "path": "assets/376d6a4c7f622917c39feb23671ef71d", "ext": "png" },
        { "path": "assets/c79c3606a1cf168006ad3979763c7e0c", "ext": "png" },
        { "path": "assets/02bc1fa7c0313217bde2d65ccbff40c9", "ext": "png" },
        { "path": "assets/35ba0eaec5a4f5ed12ca16fabeae451d", "ext": "png" },
        { "path": "assets/5223c8d9b0d08b82a5670fb5f71faf78", "ext": "png" },
        { "path": "assets/563d5e3294b67811d0a1aede6f601e30", "ext": "png" },
        { "path": "assets/b6c297a501e289394b0bc5dc69c265e6", "ext": "png" },
        { "path": "assets/5974eb3e1c5314e8d5a822702d7d0740", "ext": "png" },
        { "path": "assets/9d9c5644f55c2f6e4b7f247c378b2fe9", "ext": "png" },
        { "path": "assets/4f355ba1efca4b9c0e7a6271af047f61", "ext": "png" },
        { "path": "assets/817aca47ff3cea63020753d336e628a4", "ext": "png" },
        { "path": "assets/b06871f281fee6b241d60582ae9369b9", "ext": "ttf" },
        { "path": "assets/49a79d66bdea2debf1832bf4d7aca127", "ext": "ttf" }
      ]
    }
  }
}

How do I use it to build a preview service;
Global Expo CLI Global Expo CLI - Expo Documentation
use “expo export” output

{
  "jsEngine": "hermes",
  "name": "sdk49",
  "slug": "sdk49",
  "version": "1.0.0",
  "orientation": "portrait",
  "icon": "./assets/images/icon.png",
  "scheme": "myapp",
  "userInterfaceStyle": "automatic",
  "splash": {
    "image": "./assets/images/splash.png",
    "resizeMode": "contain",
    "backgroundColor": "#ffffff",
    "imageUrl": "https://www/assets/4dc203c1f48ad8b1e9734613e88be661"
  },
  "ios": { "supportsTablet": true, "bundleIdentifier": "com.bhc.sdk49" },
  "android": {
    "adaptiveIcon": {
      "foregroundImage": "./assets/images/adaptive-icon.png",
      "backgroundColor": "#ffffff",
      "foregroundImageUrl": "https://www/assets/97dae5a0e62ad8551d8a31897b425e63"
    },
    "package": "com.bhc.sdk49"
  },
  "plugins": ["expo-router"],
  "experiments": { "tsconfigPaths": true, "typedRoutes": true },
  "sdkVersion": "49.0.0",
  "platforms": ["ios", "android", "web"],
  "extra": { "router": { "origin": false } },
  "currentFullName": "@wennjie/sdk49",
  "originalFullName": "@wennjie/sdk49",
  "locales": {},
  "iconUrl": "https://www/assets/4e3f888fc8475f69fd5fa32f1ad5216a",
  "bundledAssets": [
    "asset_778ffc9fe8773a878e9c30a6304784de.png",
    "asset_376d6a4c7f622917c39feb23671ef71d.png",
    "asset_c79c3606a1cf168006ad3979763c7e0c.png",
    "asset_02bc1fa7c0313217bde2d65ccbff40c9.png",
    "asset_35ba0eaec5a4f5ed12ca16fabeae451d.png",
    "asset_5223c8d9b0d08b82a5670fb5f71faf78.png",
    "asset_563d5e3294b67811d0a1aede6f601e30.png",
    "asset_b6c297a501e289394b0bc5dc69c265e6.png",
    "asset_5974eb3e1c5314e8d5a822702d7d0740.png",
    "asset_9d9c5644f55c2f6e4b7f247c378b2fe9.png",
    "asset_4f355ba1efca4b9c0e7a6271af047f61.png",
    "asset_817aca47ff3cea63020753d336e628a4.png",
    "asset_b06871f281fee6b241d60582ae9369b9.ttf",
    "asset_49a79d66bdea2debf1832bf4d7aca127.ttf",
    "asset_7d40544b395c5949f4646f5e150fe020.png",
    "asset_cdd04e13d4ec83ff0cd13ec8dabdc341.png",
    "asset_a132ecc4ba5c1517ff83c0fb321bc7fc.png",
    "asset_0ea69b5077e7c4696db85dbcba75b0e1.png",
    "asset_f5b790e2ac193b3d41015edb3551f9b8.png"
  ],
  "assetUrlOverride": "./assets",
  "publishedTime": "2023-07-19T11:11:04.179Z",
  "commitTime": "2023-07-19T11:11:04.179Z",
  "releaseId": "d3ef9633-6cb3-4204-b19f-bf985150eeea",
  "revisionId": "ArwVX1aqWE",
  "id": "@wennjie/sdk49",
  "platform": "ios",
  "bundleUrl": "https://www/bundles/ios-ae0f4fb2a7da70c2ac6983f6f3c7a92f.js",
  "dependencies": [
    "@expo/vector-icons",
    "@react-navigation/native",
    "expo",
    "expo-font",
    "expo-linking",
    "expo-router",
    "expo-splash-screen",
    "expo-status-bar",
    "expo-system-ui",
    "expo-updates",
    "expo-web-browser",
    "react",
    "react-dom",
    "react-native",
    "react-native-gesture-handler",
    "react-native-safe-area-context",
    "react-native-screens",
    "react-native-web"
  ]
}

This json can be deployed on your own server, and can be opened using the QR code function of expo-go