PlasmoHQ / plasmo

🧩 The Browser Extension Framework

Home Page:https://www.plasmo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Merge the same web accessible resources

ericyangpan opened this issue · comments

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

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.