I have multiple postbuild scripts inside on my Next.js project package.json file.
"scripts": {
"dev": "next dev",
"build": "next build",
"postbuild": "node ./src/scripts/build-algolia-search.js",
"postbuild": "next-sitemap",
"start": "next start",
"test": "jest"
},
I am getting a Duplicate object key warning. Will this work? If not, how can I add both of the scripts?