-
Hi, I just noticed that order of defining groups changes result of bundlemon Given such config {
"baseDir": "./dist",
"reportOutput": ["json"],
"defaultCompression": "none",
"groups": [
{
"path": "vendors~*.js"
},
{ "path": "*.js" }
],
"files": [...]
}
Result is following
But if 'vendors' group is defined after 'js' group, then it's ignored: {
"baseDir": "./dist",
"reportOutput": ["json"],
"defaultCompression": "none",
"groups": [
{ "path": "*.js" },
{
"path": "vendors~*.js"
}
],
"files": [...]
}
gives
Therefore I have 2 questions
I have a case, where dist folder contains about 100 small files + some files that I want to track. |
Beta Was this translation helpful? Give feedback.
Answered by
LironEr
Apr 12, 2022
Replies: 1 comment 3 replies
-
Hey,
{
"files": [
{
"path": "index.html"
},
{
"path": "static/js/*.<hash>.chunk.js"
}
],
"groups": [
{
"path": "**/*.js"
},
{
"path": "**/*.css"
}
]
} |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
shwarcu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,