Skip to content

Grunt purgecss doesn't execute on all files when more than two. #619

@kiril-daskalov

Description

@kiril-daskalov

Describe the bug
Grunt purgecss doesn't execute on all files when more than two.
I have 4 files and each time purge css is started the output is different. Sometimes output all files some times 3, sometimes 2.

To Reproduce
Use this simple configuration.

config.purgecss = {
  my_target: {
    files: {
      "main.css": "main.css",
      "calculator.css": "calculator.css",
      "media.css": "media.css",
      "text.css": "text.css",
    },
  },
};

Expected behavior
Should execute on all files all times.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Bug Sur and Linux Mint
  • Package
    "grunt-purgecss": "^4.0.2",
    Node: v14.15.0
  • Version 4.02

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions