fix: 修复错误的依赖
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user