Skip to content

This plugin with removeDuplicatedProperties: true makes postcss pipeline in astro hang when importing open-props.min.css #1064

Description

@T3sT3ro

I have an astro project with a global.css style. Inside, I import an open-props css file like so:

@import url("../../node_modules/open-props/open-props.min.css");

My postcss.config.cjs as this configuration:

require('postcss-combine-duplicated-selectors')({
   removeDuplicatedProperties: true,
   removeDuplicatedValues: false
}), ...

When I try to boot astro with pnpm astro dev, the "transform" process of the global.css hangs for 60 or so seconds due to the inclusion of the open-props.min.css and transformation with this plugin. Without removeDuplicatedProperties: true the boot process of astro is blazing fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions