Skip to content

Vite 6: TypeError: vite:css-analysis plugin transform is not a function #13

@aeharding

Description

@aeharding

Problem

Hi there! I am testing my build setup with vite 6 beta, and I noticed vite fails.

when I remove the patchCssModules plugin the error goes away.

Expected behavior

No errors

Minimal reproduction URL

https://stackblitz.com/edit/vitejs-vite-8sjmgl?file=package.json

Version

v1.6.0

Node.js version

v18.20.3

Package manager

pnpm

Operating system

Linux

Bugs are expected to be fixed by those affected by it

  • I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

  • I'm willing to offer financial support

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions