PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
8.88k stars 316 forks source link

[BUG] Merge the same web accessible resources #909

Open ericyangpan opened 4 months ago

ericyangpan commented 4 months ago

What happened?

A bug happened!

There are duplicated items in web_accessible_resources:

"web_accessible_resources": [
    {
      "matches": ["https://talk.example.com/*"],
      "resources": [
        "imageGalleryDialog.6e038a4b.css",
        "imageGalleryDialog.8475c5c6.png",
        "imageGalleryDialog.72af7f63.png"
      ]
    },
    {
      "matches": ["https://talk.example.com/*"],
      "resources": [
        "imageGalleryDialog.6e038a4b.css",
        "imageGalleryDialog.8475c5c6.png",
        "imageGalleryDialog.72af7f63.png"
      ]
    },
    {
      "matches": ["https://talk.example.com/*"],
      "resources": [
        "imageGalleryDialog.6e038a4b.css",
        "imageGalleryDialog.8475c5c6.png",
        "imageGalleryDialog.72af7f63.png"
      ]
    },
    {
      "matches": ["https://talk.example.com/*"],
      "resources": ["imageGalleryDialog.6e038a4b.css"]
    },
    {
      "matches": ["https://talk.example.com/*"],
      "resources": [
        "imageGalleryDialog.8475c5c6.png",
        "imageGalleryDialog.72af7f63.png",
        "imageGalleryDialog.6e038a4b.css"
      ]
    }
  ]
Screenshot 2024-03-11 at 00 42 04

Version

Latest

What OS are you seeing the problem on?

MacOSX

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

Code of Conduct