Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thisIsLoading opened this issue Jun 4, 2024 · 0 comments
Closed

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

thisIsLoading opened this issue Jun 4, 2024 · 0 comments

Comments

@thisIsLoading
Copy link

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

@rails rails locked and limited conversation to collaborators Jun 4, 2024
@flavorjones flavorjones converted this issue into discussion #372 Jun 4, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant