How to use @expo/metro-config - 1 common examples

To help you get started, we’ve selected a few @expo/metro-config examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alan-ai / alan-sdk-reactnative / testtools / node_modules / expo-updates / scripts / createManifest.js View on Github external
async function fetchAssetManifestAsync(platform, projectRoot, entryFile) {
  // Project-level babel config does not load unless we change to the
  // projectRoot before instantiating the server

  const config = await loadAsync(projectRoot);
  const server = new Server(config);

  const requestOpts = {
    dev: false,
    minify: false,

  let assetManifest;
  let error;
  try {
    assetManifest = await server.getAssets({


A Metro config for running React Native projects with the Metro bundler

Latest version published 30 days ago

Package Health Score

89 / 100
Full package analysis

Popular @expo/metro-config functions