mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-23 14:10:18 +09:00
更新 next.config.mjs
This commit is contained in:
parent
2f7883dcda
commit
a458a17076
@ -6,14 +6,11 @@ console.log("[Next] build mode", mode);
|
||||
const disableChunk = !!process.env.DISABLE_CHUNK || mode === "export";
|
||||
console.log("[Next] build with chunk: ", !disableChunk);
|
||||
|
||||
module.exports = {
|
||||
env: {
|
||||
LANGCHAIN_CALLBACKS_BACKGROUND: true,
|
||||
},
|
||||
};
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
env: {
|
||||
LANGCHAIN_CALLBACKS_BACKGROUND: 'true',
|
||||
},
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
|
Loading…
Reference in New Issue
Block a user