mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00
24 lines
458 B
JavaScript
24 lines
458 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
|
|
const path = require('path');
|
|
const isDev = process.env.NODE_ENV === 'development';
|
|
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
reactStrictMode: false,
|
|
compress: true,
|
|
webpack(config) {
|
|
config.module.rules = config.module.rules.concat([
|
|
{
|
|
test: /\.svg$/i,
|
|
issuer: /\.[jt]sx?$/,
|
|
use: ['@svgr/webpack']
|
|
}
|
|
]);
|
|
|
|
return config;
|
|
}
|
|
};
|
|
|
|
module.exports = nextConfig;
|