diff --git a/next.config.ts b/next.config.ts index d63581e..6722a05 100644 --- a/next.config.ts +++ b/next.config.ts @@ -10,13 +10,13 @@ const nextConfig: NextConfig = { }, ], }, - webpack(config) { - config.module.rules.push({ - test: /\.svg$/, - use: ["@svgr/webpack"] - }); - - return config; + turbopack: { + rules: { + '*.svg': { + loaders: ['@svgr/webpack'], + as: '*.js', + }, + }, } };