Add the `cache-loader` plugin for caching an expensive loaders. A proper analysis must be done, see the note from the loader documentation: > Note that there is an overhead for saving the reading and saving the cache file, so only use this loader to cache expensive loaders. URL: https://github.com/webpack-contrib/cache-loader