Skip to content

null rendered into the bundle when bundling a @mui/lab/TreeView component #51

@dagda1

Description

@dagda1

Describe the bug A clear and concise description of what the bug is.

I encountered a weird bug when trying to render a @mui/lab/TreeView component.

When packup is bundling the assets, the error below happens

aaa

If I use vite to bundle then the error goes away.

To Reproduce Steps to reproduce the behavior:

  1. I created this repo with reproduction and proof that it works with vite
  2. There are instructions in the README and below
  3. Clone the repo
  4. deno task build
  5. deno task dev --app-path=./dist

Expected behavior A clear and concise description of what you expected to

It should run without errors

Screenshots If applicable, add screenshots to help explain your problem.

aaa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions