Spaces:
Running
Running
/** @type {import('next').NextConfig} */ | |
const nextConfig = { | |
reactStrictMode: true, | |
output: 'standalone', | |
images: { | |
domains: ['localhost'], | |
}, | |
experimental: { | |
outputFileTracingRoot: undefined, | |
}, | |
webpack: (config) => { | |
config.module.rules.push({ | |
test: /\.(woff|woff2|eot|ttf|otf)$/, | |
use: { | |
loader: 'file-loader', | |
options: { | |
name: '[name].[ext]', | |
publicPath: '/_next/static/fonts/', | |
outputPath: 'static/fonts/', | |
}, | |
}, | |
}); | |
return config; | |
}, | |
}; | |
export default nextConfig; | |