aboutsummaryrefslogtreecommitdiff
path: root/dev/data/manifest-variants.json
diff options
context:
space:
mode:
Diffstat (limited to 'dev/data/manifest-variants.json')
-rw-r--r--dev/data/manifest-variants.json55
1 files changed, 19 insertions, 36 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 1eae2112..e6113b75 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -28,7 +28,8 @@
"default_popup": "action-popup.html"
},
"background": {
- "service_worker": "sw.js"
+ "service_worker": "sw.js",
+ "type": "module"
},
"content_scripts": [
{
@@ -41,28 +42,7 @@
"match_about_blank": true,
"all_frames": true,
"js": [
- "js/core.js",
- "js/yomichan.js",
- "js/app/frontend.js",
- "js/app/popup.js",
- "js/app/popup-factory.js",
- "js/app/popup-proxy.js",
- "js/app/popup-window.js",
- "js/app/theme-controller.js",
- "js/comm/api.js",
- "js/comm/cross-frame-api.js",
- "js/comm/frame-ancestry-handler.js",
- "js/comm/frame-client.js",
- "js/comm/frame-offset-forwarder.js",
- "js/data/sandbox/string-util.js",
- "js/dom/dom-text-scanner.js",
- "js/dom/document-util.js",
- "js/dom/text-source-element.js",
- "js/dom/text-source-range.js",
- "js/input/hotkey-handler.js",
- "js/language/text-scanner.js",
- "js/script/dynamic-loader.js",
- "js/app/content-script-main.js"
+ "js/app/content-script-wrapper.js"
]
}
],
@@ -118,7 +98,8 @@
{
"resources": [
"popup.html",
- "template-renderer.html"
+ "template-renderer.html",
+ "js/*"
],
"matches": [
"<all_urls>"
@@ -141,8 +122,7 @@
"inherit": "base",
"fileName": "yomitan-chrome.zip",
"excludeFiles": [
- "background.html",
- "js/dom/native-simple-dom-parser.js"
+ "background.html"
]
},
{
@@ -187,7 +167,9 @@
"path": [
"permissions"
],
- "items": ["clipboardRead"]
+ "items": [
+ "clipboardRead"
+ ]
}
]
},
@@ -204,6 +186,13 @@
]
},
{
+ "action": "delete",
+ "path": [
+ "background",
+ "type"
+ ]
+ },
+ {
"action": "set",
"path": [
"background",
@@ -268,9 +257,7 @@
"sw.js",
"offscreen.html",
"js/background/offscreen.js",
- "js/background/offscreen-main.js",
- "js/dom/simple-dom-parser.js",
- "lib/parse5.js"
+ "js/background/offscreen-main.js"
]
},
{
@@ -319,9 +306,7 @@
"sw.js",
"offscreen.html",
"js/background/offscreen.js",
- "js/background/offscreen-main.js",
- "js/dom/simple-dom-parser.js",
- "lib/parse5.js"
+ "js/background/offscreen-main.js"
]
},
{
@@ -368,9 +353,7 @@
"sw.js",
"offscreen.html",
"js/background/offscreen.js",
- "js/background/offscreen-main.js",
- "js/dom/simple-dom-parser.js",
- "lib/parse5.js"
+ "js/background/offscreen-main.js"
]
}
]