Skip to content

Commit

Permalink
reactStrictMode true
Browse files Browse the repository at this point in the history
  • Loading branch information
zobkazi committed Nov 27, 2024
1 parent 69b94d0 commit c7536f5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
10 changes: 6 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[plugins]]
package = "@netlify/plugin-nextjs"

[build]
publish = ".next"
command = "npm run build"
4 changes: 2 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
reactStrictMode: true
};

export default nextConfig;
module.exports = nextConfig;
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"build": "next build && next export",
"start": "next start",
"lint": "next lint"
},
Expand Down Expand Up @@ -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"
}
Expand Down

0 comments on commit c7536f5

Please sign in to comment.