fix: revert @imgly npm import → CDN + ErrorBoundary + next.config cleanup
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
/** @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;
|
||||
|
||||
Reference in New Issue
Block a user