|
|
|
@ -14,8 +14,9 @@ const withMDX = require('@next/mdx')({
|
|
|
|
|
|
|
|
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
|
|
const nextConfig = {
|
|
|
|
const nextConfig = {
|
|
|
|
// basePath: '/dify',
|
|
|
|
basePath: '/dify',
|
|
|
|
// assetPrefix: '/dify',
|
|
|
|
assetPrefix: '/dify',
|
|
|
|
|
|
|
|
trailingSlash: true,
|
|
|
|
webpack: (config, { dev, isServer }) => {
|
|
|
|
webpack: (config, { dev, isServer }) => {
|
|
|
|
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
|
|
|
|
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
|
|
|
|
return config
|
|
|
|
return config
|
|
|
|
|