diff --git a/config/webpack/webpack.config.js b/config/webpack/webpack.config.js index 43a9b1bcc..8fa27ffaf 100644 --- a/config/webpack/webpack.config.js +++ b/config/webpack/webpack.config.js @@ -34,7 +34,7 @@ const customConfig = { process: 'process/browser' }), isDevelopment && new ReactRefreshWebpackPlugin() - ], + ].filter(Boolean), module: { rules: [ jsErb,