mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 05:29:28 +08:00
refactor: build/runtime/client configs
This commit is contained in:
@@ -8,14 +8,11 @@ const nextConfig = {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
use: ["@svgr/webpack"],
|
||||
}); // 针对 SVG 的处理规则
|
||||
});
|
||||
|
||||
return config;
|
||||
}
|
||||
},
|
||||
output: "standalone",
|
||||
};
|
||||
|
||||
if (process.env.DOCKER) {
|
||||
nextConfig.output = 'standalone'
|
||||
}
|
||||
|
||||
module.exports = nextConfig;
|
||||
|
Reference in New Issue
Block a user