Skip to content

Commit bbb4dca

Browse files
committed
build(vite): inline purgecss plugin to drop vulnerable vite 6 dep
Replace the unmaintained vite-plugin-purgecss wrapper with a ~20-line local plugin calling purgecss directly. The wrapper pinned vite@6.x, which carried a high-severity dev-server WebSocket arbitrary file read advisory (GHSA-p9ff-h696-f583) with no upstream fix. Build output and behavior unchanged.
1 parent 0b50e10 commit bbb4dca

3 files changed

Lines changed: 33 additions & 476 deletions

File tree

0 commit comments

Comments
 (0)