Skip to content

[8.0.10] breaks production build #22307

Description

@christophe-g

Describe the bug

This is going to be difficult to have a simple reproduction test case for, but going from 8.0.9 to 8.0.10 breaks production build for our app.

I get a Uncaught TypeError: Class extends value undefined is not a constructor or null on a fresh build: https://accessiblesurveys--preview-5h57wdjf.web.app/

Reverting back to 8.0.9 and deployed to https://accessiblesurveys.com

Vite version is the only difference between the two.

Reproduction

https://accessiblesurveys--preview-5h57wdjf.web.app/

Steps to reproduce

No response

System Info

System:
    OS: Linux 6.19 Linux Mint 22.3 (Zena)
    CPU: (16) x64 AMD Ryzen 7 7840U w/ Radeon  780M Graphics
    Memory: 16.29 GB / 30.65 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 23.6.1 - /home/christophe/.nvm/versions/node/v23.6.1/bin/node
    Yarn: 1.22.22 - /home/christophe/.local/share/pnpm/yarn
    npm: 11.2.0 - /home/christophe/.nvm/versions/node/v23.6.1/bin/npm
    pnpm: 10.33.0 - /home/christophe/.nvm/versions/node/v23.6.1/bin/pnpm
    bun: 1.3.9 - /home/christophe/.local/share/pnpm/bun
  Browsers:
    Chrome: 147.0.7727.116
    Firefox: 150.0
    Firefox Developer Edition: 150.0
  npmPackages:
    vite: catalog: => 8.0.10

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: upstreamBug in a dependency of Vitep4-importantViolate documented behavior or significantly improves performance (priority)

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions