Closed
Description
According to oracle/graal#7354 (comment) and other comments, we need to prepare for future changes in the resource-config.json
format and apply them to our ResourceHints
API.
First, the "exclude pattern" variant is going away as it breaks composeability of configs.
Also, the patterns themselves are going to be greatly simplified and won't support regexp patterns anymore. Currently our support outputs entries like
{
"pattern": "\\Qbanner.txt\\E"
},
In the future, only "glob patterns" will be allowed, like "banner.txt"
, "images/*.jpg"
or "images/**"
.