Exched/DeepSeek_Coder
0
1import type { NextConfig } from "next";2 3const nextConfig: NextConfig = {4 /* config options here */5 webpack(config, options) {6 const { isServer } = options;7 config.module.rules.push({8 test: /\.(ogg|mp3|wav|mpe?g)$/i,9 exclude: config.exclude,10 use: [11 {12 loader: require.resolve("url-loader"),13 options: {14 limit: config.inlineImageLimit,15 fallback: require.resolve("file-loader"),16 publicPath: `${config.assetPrefix}/_next/static/images/`,17 outputPath: `${isServer ? "../" : ""}static/images/`,18 name: "[name]-[hash].[ext]",19 esModule: config.esModule || false,20 },21 },22 ],23 });24 25 return config;26 },27 images: {28 remotePatterns: [new URL('https://huggingface.co/**')],29 },30};31 32export default nextConfig;33 