feat: close #2376 add babel polyfill

This commit is contained in:
Yidadaa
2023-07-16 16:32:22 +08:00
parent 30473ec41e
commit af5f67d459
3 changed files with 18 additions and 1 deletions

View File

@@ -30,6 +30,9 @@ const nextConfig = {
images: {
unoptimized: mode === "export",
},
experimental: {
forceSwcTransforms: true,
},
};
if (mode !== "export") {