Skip to content

Next JS 13.4 appDir - MUI Compiled /page in 8.2s (2728 modules) #39432

Closed
@imceZZ

Description

@imceZZ

I am using "@mui/material": "5.14.13" and "next": "13.5.4" but during development and also build is slow I saw another topic that was discussing this issue but I couldn't find any answer that will work I also tried flatten import example from this:

import { Box } from "@mui/material";

to this:

import Box from "@mui/material/Box";

this reduces first load js but again its not how it should be, again it loads 2728 modules.

this is screenshot when I run yarn dev:

N37xD

this is documentation that I followed to implement MUI in next js: MUI DOC

please don't close this until it has solution this is headache.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions