Skip to content

Disable CSS minification (independently of JS) #5619

@cbergen

Description

@cbergen

I prefer to use cssnano and would like to be able to turn off just CSS minification.

More specifically, I am using Vite which is built-in to SvelteKit. The current version of esbuild and terser which is packaged with Vite both incorrectly merge rules which shouldn't be merged. Cssnano has it figured out and can manage this case.

Suggested solution

Ideally a new Vite option would expose this ability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeat: cssp3-downstream-blockerBlocking the downstream ecosystem to work properly (priority)

    Type

    No type

    Projects

    Status

    Approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions