Skip to content

minifier removes space between & and ::after #366

@agriffis

Description

@agriffis

There's a bug reported against SWC because it works differently from this plugin, but AFAICT the bug is in the plugin, not SWC.

Report: vercel/next.js#30802 (comment)
My response: vercel/next.js#30802 (comment)

Basically when the minifier encounters .globalClass & ::after it kills the space between the ampersand and the colons.

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