Skip to content

Option to disable mangling? #2547

@Sollace

Description

@Sollace

Describe the problem

I'd like to start writing my own themes for cinny, particularly to use on my own hosted version of it, but that's not really possible when the markup looks like this:

Image

Describe the solution you'd like

An option, maybe in the build process, to just turn off the css names randomisation. It doesn't have to unminify it, only not obfuscate it.

Alternatives considered

I have tried turning it off by modifying vite.config.js and adding:

    minify: false,
    terserOptions: {
      compress: false,
      mangle: false,
    },

These however do not seem to have any effect.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions