mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 06:23:44 +08:00
优化
This commit is contained in:
@@ -3,7 +3,8 @@ import webpack from "webpack";
|
||||
const mode = process.env.BUILD_MODE ?? "standalone";
|
||||
console.log("[Next] build mode", mode);
|
||||
|
||||
const disableChunk = !!process.env.DISABLE_CHUNK || mode === "export";
|
||||
// const disableChunk = !!process.env.DISABLE_CHUNK || mode === "export";
|
||||
const disableChunk = true;
|
||||
console.log("[Next] build with chunk: ", disableChunk);
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
|
||||
Reference in New Issue
Block a user