17 lines
426 B
JavaScript
17 lines
426 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
webpack: (config) => {
|
|
config.module.rules.push({
|
|
test: /\.(ttf|html)$/i,
|
|
type: 'asset/resource'
|
|
});
|
|
return config;
|
|
},
|
|
basePath: '/suno-api', // 👈 应用的统一前缀
|
|
experimental: {
|
|
serverMinification: false, // the server minification unfortunately breaks the selector class names
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|