Allowing multiple groups with retry strategies for different matched assets (just like webpack loaders rules). Using multiple plugin instances may not work due to the implementation and will bloat the runtime size.
Be like:
defineConfig({
plugins: [
pluginAssetsRetry([
{
domain: ["cdn1.com", "cdn2.com""],
max: 3
},
{
domain: ["cdn3.com"],
max: 4,
}
])
]
});
Allowing multiple groups with retry strategies for different matched assets (just like webpack loaders rules). Using multiple plugin instances may not work due to the implementation and will bloat the runtime size.
Be like: