fix: revert @imgly npm import → CDN + ErrorBoundary + next.config cleanup

This commit is contained in:
2026-06-09 13:15:04 +02:00
parent a77f44b800
commit 4b9db5bebf
4 changed files with 91 additions and 11 deletions
-5
View File
@@ -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;