aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-09-23 19:49:41 +0300
committereug-vs <eugene@eug-vs.xyz>2022-09-23 19:49:41 +0300
commit30434e9bad2bf3b082b8dec193b1f2ccfa905f85 (patch)
tree55675609fee332007ec70b1fbb8db250d3234e4c
parent8641a3e8ecc06d7bc0b75a71b2b9ec51f7f24c05 (diff)
downloadbenzin-next-30434e9bad2bf3b082b8dec193b1f2ccfa905f85.tar.gz
fix: use .js in next config
-rw-r--r--next.config.js (renamed from next.config.ts)7
1 files changed, 3 insertions, 4 deletions
diff --git a/next.config.ts b/next.config.js
index 742ad4f..cc28907 100644
--- a/next.config.ts
+++ b/next.config.js
@@ -1,6 +1,5 @@
-import { NextConfig } from 'next';
-
-const nextConfig: NextConfig = {
+/** @type {import('next').NextConfig} */
+const nextConfig = {
reactStrictMode: true,
experimental: {
images: {
@@ -16,4 +15,4 @@ const nextConfig: NextConfig = {
}
}
-export default nextConfig;
+module.exports = nextConfig