From 2c2e512c3988d8d2081e13b0a703f7958d909ac9 Mon Sep 17 00:00:00 2001 From: inmake Date: Mon, 18 Mar 2024 18:10:05 +0500 Subject: [PATCH] upd --- .gitignore | 4 ++-- next.config.mjs | 2 ++ src/app/page.tsx | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fd3dbb5..a92686d 100644 --- a/.gitignore +++ b/.gitignore @@ -10,8 +10,8 @@ /coverage # next.js -/.next/ -/out/ +/.next +/dist # production /build diff --git a/next.config.mjs b/next.config.mjs index 4350313..3182a51 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,6 +1,8 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: "export", + trailingSlash: true, + distDir: "dist", }; export default nextConfig; diff --git a/src/app/page.tsx b/src/app/page.tsx index e5dd40a..1a0f0f3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,6 +1,7 @@ /* eslint-disable @next/next/no-img-element */ /* eslint-disable no-irregular-whitespace */ "use client"; + import "react-rangeslider/lib/index.css"; import "../components/RangeSlider.css"; import api from "@utils/api";