12 lines
321 B
JavaScript
12 lines
321 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
webpack: (config) => {
|
|
// Requis pour onnxruntime-web (WASM) utilisé par @imgly/background-removal
|
|
config.experiments = { ...config.experiments, asyncWebAssembly: true }
|
|
return config
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|