From abb22fb383f8c6e5e409baea7e8f359b90a7d0b2 Mon Sep 17 00:00:00 2001 From: Anang Yusman Date: Tue, 30 Dec 2025 14:17:20 +0800 Subject: [PATCH] update --- next.config.ts | 8 +++----- tsconfig.json | 24 +++++++++++++++++++----- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/next.config.ts b/next.config.ts index 6abe5df..1ae53f7 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,13 +1,11 @@ -import type { NextConfig } from "next"; - -const nextConfig: NextConfig = { +/** @type {import('next').NextConfig} */ +const nextConfig = { images: { - domains: ["mikulnews.com", "dev.mikulnews.com"], + domains: ["mikulnews.com", "dev.mikulnews.com", "jaecoocihampelasbdg.com"], }, eslint: { ignoreDuringBuilds: true, }, - // Add experimental features for better chunk handling experimental: { optimizePackageImports: ["@ckeditor/ckeditor5-react", "react-apexcharts"], }, diff --git a/tsconfig.json b/tsconfig.json index d8b9323..e7ff3a2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "ES2017", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -11,7 +15,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, "plugins": [ { @@ -19,9 +23,19 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] }