Skip to content

Should order of Groups matter? Should Groups depend on Files? #96

Answered by LironEr
shwarcu asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,

  1. Groups order shouldn't matter, this is a bug. I will release a fix in the next few minutes.
  2. Groups work independently from files, you can have different patterns, for example:
{
  "files": [
    {
      "path": "index.html"
    },
    {
      "path": "static/js/*.<hash>.chunk.js"
    }
  ],
  "groups": [
    {
      "path": "**/*.js"
    },
    {
      "path": "**/*.css"
    }
  ]
}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@shwarcu
Comment options

@LironEr
Comment options

@shwarcu
Comment options

Answer selected by shwarcu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants