fix: 修复错误的依赖

This commit is contained in:
贺海国
2025-10-24 14:12:59 +08:00
parent 9452d748aa
commit b70922e4d7
5 changed files with 92 additions and 102 deletions

View File

@@ -8,6 +8,18 @@ const nextConfig = {
},
transpilePackages: ['lucide-react'],
output: 'standalone',
// 修复CSS构建问题
experimental: {
// forceSwcTransforms: true,
turbo: {
rules: {
'*.svg': {
loaders: ['@svgr/webpack'],
as: '*.js',
},
},
},
},
};
export default nextConfig;