Hi @ChangoMan!
Would you consider upgrading to Next.js 11 (which has a bunch of improvements, including built-in support for Sass) and then removing the extraneous dependencies?
This would also help to address the security vulnerabilities with the old dependencies.
I helped recently doing this to another site, and these are some of the changes:
https://github.com/jonaschlegel/jonaschlegel.com/commits/master
Only 4 dependencies required with this new version:
{
"name": "nextjs-forty",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start",
"export": "next build && next export"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"next": "^11.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.35.2"
}
}
...and also managed to get rid of all of the *.config.js files 🙌 : https://github.com/jonaschlegel/jonaschlegel.com/tree/master
Hi @ChangoMan!
Would you consider upgrading to Next.js 11 (which has a bunch of improvements, including built-in support for Sass) and then removing the extraneous dependencies?
This would also help to address the security vulnerabilities with the old dependencies.
I helped recently doing this to another site, and these are some of the changes:
https://github.com/jonaschlegel/jonaschlegel.com/commits/master
Only 4 dependencies required with this new version:
{ "name": "nextjs-forty", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "dev": "next", "build": "next build", "start": "next start", "export": "next build && next export" }, "keywords": [], "author": "", "license": "ISC", "dependencies": { "next": "^11.0.1", "react": "^17.0.2", "react-dom": "^17.0.2", "sass": "^1.35.2" } }...and also managed to get rid of all of the
*.config.jsfiles 🙌 : https://github.com/jonaschlegel/jonaschlegel.com/tree/master