diff --git a/src/components/Site/Site.jsx b/src/components/Site/Site.jsx
index 9dd05e88e3e3..bac59010b48f 100644
--- a/src/components/Site/Site.jsx
+++ b/src/components/Site/Site.jsx
@@ -247,6 +247,11 @@ function Site(props) {
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
>
+
);
diff --git a/webpack.dev.mjs b/webpack.dev.mjs
index 702ba71a94ce..4495a3b9fe94 100644
--- a/webpack.dev.mjs
+++ b/webpack.dev.mjs
@@ -24,7 +24,10 @@ export default (env) =>
index: './index.jsx',
},
plugins: [
- new ReactRefreshWebpackPlugin(),
+ new ReactRefreshWebpackPlugin({
+ esModule: false,
+ exclude: [/node_modules/, /utilities/],
+ }),
new HTMLPlugin({
template: 'index.html',
favicon: 'favicon.ico',
@@ -44,5 +47,6 @@ export default (env) =>
hot: true,
compress: true,
historyApiFallback: true,
+ allowedHosts: 'all',
},
});