diff --git a/apps/landing/next.config.js b/apps/landing/next.config.js index 7ebb11a22..e43347fa3 100644 --- a/apps/landing/next.config.js +++ b/apps/landing/next.config.js @@ -31,7 +31,7 @@ const nextConfig = { rules: { "*.svg": { loaders: ["@svgr/webpack"], - as: ".js", + as: "*.js", }, }, }, diff --git a/apps/web/next.config.js b/apps/web/next.config.js index ac7f5ae95..513544253 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -32,7 +32,7 @@ const nextConfig = { rules: { "*.svg": { loaders: ["@svgr/webpack"], - as: ".js", + as: "*.js", }, }, },