I set up webpack analyzer to take a look at my bundle size and I've noticed that react-dom is included twice. Does anyone know why that is and how to fix it?
also here is my package.json:
{
"name": "test",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"analyze": "cross-env ANALYZE=true next build"
},
"dependencies": {
"framer-motion": "^10.12.16",
"next": "^13.4.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.6",
"autoprefixer": "^10.4.14",
"cross-env": "^7.0.3",
"postcss": "^8.4.24",
"tailwindcss": "^3.3.2"
}
}