Fetch Write Webpack Plugin
JSON →Webpack plugin (v1.1.0) that fetches data from remote sources at build time and writes the results to static files. Designed for scenarios where data must be baked into the bundle during compilation, reducing runtime API calls. Provides retry logic, configurable output paths, and support for multiple fetch targets. Alternatives include custom webpack plugins or using CopyWebpackPlugin with external scripts, but this plugin simplifies the pattern.
Resources
packagefetch-write-webpack-plugin ↗