PlasmoHQ / plasmo

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

[FEATURE] Add possibility to not write side_panel > default_path in manifest.json #1036

Open Jeromearsene opened 2 months ago

Jeromearsene commented 2 months ago

How do you envision this feature/change to look/work like?

Actually, when I use sidepanel, the created manifest.json has automatically a default_path created, like this:

"side_panel": {
  "default_path": "./sidepanel.html"
},

But sometimes, i don't want this default_path. Check this messages:

What is the purpose of this change/feature? Why?

An option to disable this default_path.

(OPTIONAL) Example implementations

Something like this in package.json:

"sidePanel": {
    "default_path": false
},

By default, possibility to stay to true.

(OPTIONAL) Contribution

Verify canary release

Code of Conduct