We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30473ec commit af5f67dCopy full SHA for af5f67d
.babelrc
@@ -0,0 +1,14 @@
1
+{
2
+ "presets": [
3
+ [
4
+ "next/babel",
5
+ {
6
+ "preset-env": {
7
+ "targets": {
8
+ "browsers": ["> 0.25%, not dead"]
9
+ }
10
11
12
+ ]
13
14
+}
app/components/home.tsx
@@ -1,6 +1,6 @@
"use client";
-require("../polyfill");
+// require("../polyfill");
import { useState, useEffect } from "react";
next.config.mjs
@@ -30,6 +30,9 @@ const nextConfig = {
30
images: {
31
unoptimized: mode === "export",
32
},
33
+ experimental: {
34
+ forceSwcTransforms: true,
35
+ },
36
};
37
38
if (mode !== "export") {
0 commit comments