diff --git a/netlify.toml b/netlify.toml index b87b8d3..d9c858a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,4 +1,6 @@ -[[redirects]] - from = "/*" - to = "/index.html" - status = 200 +[[plugins]] + package = "@netlify/plugin-nextjs" + +[build] + publish = ".next" + command = "npm run build" \ No newline at end of file diff --git a/next.config.mjs b/next.config.mjs index 4d7317d..261415f 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: "export", + reactStrictMode: true }; -export default nextConfig; +module.exports = nextConfig; \ No newline at end of file diff --git a/package.json b/package.json index c35b768..7acf0b8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "next dev", - "build": "next build", + "build": "next build && next export", "start": "next start", "lint": "next lint" }, @@ -32,6 +32,12 @@ "tailwindcss": "^3.4.1", "typescript": "^5" }, + "description": "Radio Chilmari - A Community Radio Station in Kurigram, Bangladesh", + "repository": { + + }, + "license": "MIT", + "main": "next.config.mjs", "engines": { "node": ">=16.0.0" }