refactor: Add frontend code to DB-GPT (#912)

This commit is contained in:
katakuri
2023-12-11 00:05:42 +08:00
committed by GitHub
parent b8dc9cf11e
commit 43190ca333
189 changed files with 19179 additions and 16 deletions

17
web/next.config.js Normal file
View File

@@ -0,0 +1,17 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
experimental: {
esmExternals: 'loose',
},
typescript: {
ignoreBuildErrors: true,
},
env: {
API_BASE_URL: process.env.API_BASE_URL,
},
trailingSlash: true,
images: { unoptimized: true },
};
module.exports = nextConfig;