Question on plugin configuration #562
-
Hello,, I've been trying to get the pluginAssetsRetry plugin set up but I come to learn that the plugins in rsbuild have a different structure than most other plugins. Most significantly, they dont have a class declaration, so when implementing I can't access the plugin.apply(compiler) function. I studied the docs, but the way it's written doesn't work for me. Can anyone help? (ps: I also just posted this question related to the finding the config file, but figured this might be a separate question) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Rsbuild plugins is just a function, it is different from webpack plugins. You can read this document to learn about the Rsbuild plugins. |
Beta Was this translation helpful? Give feedback.
Rsbuild plugins is just a function, it is different from webpack plugins.
You can read this document to learn about the Rsbuild plugins.