Skip to content

"rebuild" speed is extremely slow when using safelist #371

@thisIsLoading

Description

@thisIsLoading

i need to set a lot of classes programmatically so i probably dont have any other options than using the safelist (or do i?).

so i set mine to:

safelist: [
    {
        pattern: /^(bg-|border-|text-|ring-)/,
        variants: ['hover', 'active', 'focus', 'dark'],
    },
],

i expected some kind of a slow down when rebuilding but right now i am waiting 34 minutes (and counting) for it to finish the rebuild.

i havent the newest machine but it is still decent:

CPU: 12-core AMD Ryzen 9 3900X (-MT MCP-) speed/min/max: 3124/2200/4672 MHz
Kernel: 6.9.2-1-MANJARO x86_64 Up: 13h 30m Mem: 30.38/62.74 GiB (48.4%)
Storage: 2.75 TiB (35.1% used) Procs: 647 Shell: Bash inxi: 3.3.34

is this expected? do i do it wrong?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions