Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Throw an error if cssnext is used with default options not as the first plugin #175

Description

@MoOx

Some people include cssnext after other plugins, but since cssnext handle import by default, it should be the first so, if possible:

  • if cssnext has default options || import to true && import hasn't been piped yet, should throw if not the first plugin
  • if cssnext has default options || import to true && import has already been piped, should disable import (& should emit a warning ?) if not the first plugin
  • if cssnext has import to false, just check nothing, people probably know what they are doing

That would avoid people doing mistake.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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