Skip to content

Allow one @define-container; declaration in singleContainer mode #67

Closed
@ZeeCoder

Description

@ZeeCoder

The default mode for the postcss plugin is singleContainer: true, which means that the plugin automatically detects the first class it encounters as the container class.

A single @define-container; declaration should be allowed in these cases, however, if the container class is not the first in the file.

(More than one @define-container; occurrences should still throw an error though.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions