Expo CLI no longer supports Webpack for bundling websites. Instead, Expo recommends using Metro bundler and Expo Router for building websites. Metro bundler has many advantages, including incremental bundling, aggressive caching, and a multi-dimensional graph for bundling multiple different platforms simultaneously. Expo has added several web-specific features to Metro, such as file-based routing, CSS, Sass, PostCSS, Tailwind, fast refresh, static rendering, API routes, and more. Third party integrations like Storybook and Next.js still support Metro bundler. Users with custom features can refer to Expo's documentation to implement those features using universal Metro bundler.
Table of contents
Webpack support in Expo CLI is now deprecatedWhat is Metro Bundler?Adding web and server support to MetroThird party integrationsStorybookNext.jsElectronCustom featuresSort: