fix(ios): resolve iOS Safari WebKit SyntaxError: Unexpected token '{' via SWC package transpilation and dynamic loader
This commit is contained in:
@@ -40,6 +40,7 @@ function getPermittedDevOrigins() {
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
transpilePackages: ['lenis', 'three', 'framer-motion'],
|
||||
allowedDevOrigins: getPermittedDevOrigins(),
|
||||
images: {
|
||||
unoptimized: true,
|
||||
|
||||
Reference in New Issue
Block a user