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