We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d289c4 commit daa7f0fCopy full SHA for daa7f0f
README.md
@@ -197,7 +197,7 @@ app.use(instance);
197
setTimeout(() => {
198
// After a short delay the configuration is changed and a banner plugin is added
199
// to the config
200
- compiler.apply(new webpack.BannerPlugin('A new banner'));
+ new webpack.BannerPlugin('A new banner').apply(compiler);
201
202
// Recompile the bundle with the banner plugin:
203
instance.invalidate();
0 commit comments