tips on getting file sizes down in a nextjs 13 project?

things are getting preeeeetttyyyyy heftyyyy in my big project
// package.json

"dependencies": {
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@johnnymorganz/stylua": "^0.15.3",
"@next/bundle-analyzer": "^13.0.6",
"jotai": "^1.10.0",
"mongoose": "^6.7.3",
"next": "^13.0.5",
"react": "18.2.0",
"react-apexcharts": "^1.4.0",
"react-awesome-reveal": "^4.1.0",
"react-dom": "18.2.0",
"react-intersection-observer": "^9.4.1",
"react-markdown": "^8.0.3",
"react-query": "^3.39.2",
"react-syntax-highlighter": "^15.5.0",
"remark-gemoji": "^7.0.1",
"remark-gfm": "^3.0.1",
"sharp": "^0.31.2",
"swiper": "^8.4.5"
}
// package.json

"dependencies": {
"@hcaptcha/react-hcaptcha": "^1.4.4",
"@johnnymorganz/stylua": "^0.15.3",
"@next/bundle-analyzer": "^13.0.6",
"jotai": "^1.10.0",
"mongoose": "^6.7.3",
"next": "^13.0.5",
"react": "18.2.0",
"react-apexcharts": "^1.4.0",
"react-awesome-reveal": "^4.1.0",
"react-dom": "18.2.0",
"react-intersection-observer": "^9.4.1",
"react-markdown": "^8.0.3",
"react-query": "^3.39.2",
"react-syntax-highlighter": "^15.5.0",
"remark-gemoji": "^7.0.1",
"remark-gfm": "^3.0.1",
"sharp": "^0.31.2",
"swiper": "^8.4.5"
}
preact is incompatible with next 13 as of now, i'm pretty sure, so i don't think i can switch out react-dom for that if you guys have any tips, let me know asap!!!! thanks 😁
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server