fix(ios): resolve iOS Safari WebKit SyntaxError: Unexpected token '{' via SWC package transpilation and dynamic loader

This commit is contained in:
2026-11-05 12:16:41 +05:30
parent 35a615f4ea
commit 583a1fe5a0
4 changed files with 273 additions and 243 deletions
+1
View File
@@ -40,6 +40,7 @@ function getPermittedDevOrigins() {
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
transpilePackages: ['lenis', 'three', 'framer-motion'],
allowedDevOrigins: getPermittedDevOrigins(),
images: {
unoptimized: true,