Webpack 5 asset/resource vs asset/inline for Production Assets
Webpack 5’s asset modules let you inline small files or emit them as separate files, but choosing the wrong type can bloat bundles or break caching. Here’s how to decide and configure for production.