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 4d10962 commit eedf6b6Copy full SHA for eedf6b6
packages/scripts/src/config/WebpackConfigHelper.ts
@@ -354,7 +354,11 @@ export class WebpackConfigHelper {
354
plugins = [new TimeFixPlugin(), ...plugins];
355
356
// Add react refresh if needed
357
- if (this.config.hasReact && !this.config.disableReactRefresh) {
+ if (
358
+ this.config.hasReact &&
359
+ !this.config.disableReactRefresh &&
360
+ !this.file.optimizeForGutenberg
361
+ ) {
362
plugins.push(
363
new ReactRefreshWebpackPlugin({
364
overlay: {
0 commit comments