80c2aa0401
The esbuild outdir was relative to cwd, so it landed at project root (dist/content/) on a project-root build, not under the extension dir. Fix: - esbuild writes to extension/dist/content/ - manifest.json content_scripts.js → dist/content/index.js - Keeps the extension self-contained so Chrome --load-extension works without any external files
35 lines
928 B
JSON
35 lines
928 B
JSON
{
|
|
"manifest_version": 3,
|
|
"name": "Beat Pocket",
|
|
"short_name": "Beat Pocket",
|
|
"version": "0.1.0",
|
|
"description": "Mobile-first UI for beat-battle.net. Chat drawer, single-column layout, thumb-sized controls. Uses your existing session — no login required.",
|
|
"minimum_chrome_version": "109",
|
|
"icons": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png",
|
|
"48": "icons/icon-48.png",
|
|
"128": "icons/icon-128.png"
|
|
},
|
|
"action": {
|
|
"default_title": "Beat Pocket",
|
|
"default_icon": {
|
|
"16": "icons/icon-16.png",
|
|
"32": "icons/icon-32.png"
|
|
}
|
|
},
|
|
"background": {
|
|
"service_worker": "background.js"
|
|
},
|
|
"content_scripts": [
|
|
{
|
|
"matches": ["*://beat-battle.net/*"],
|
|
"run_at": "document_idle",
|
|
"js": ["dist/content/index.js"],
|
|
"css": ["content/inject.css"]
|
|
}
|
|
],
|
|
"permissions": ["storage"],
|
|
"host_permissions": ["*://beat-battle.net/*"]
|
|
}
|