From e00a8466e1134e73d84bc3618620a26f058ea37b Mon Sep 17 00:00:00 2001 From: Mohit Arora Date: Sat, 6 Aug 2022 05:36:03 +0530 Subject: [PATCH] Minimum chrome version reuirement added Manifest 3 don't support Google chrome version below 93 --- manifest.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index eaa2f59..9fb5bc1 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,8 @@ "version": "0.0.25", "description": "Write and execute ES6/ES2015 within DevTools!", "devtools_page": "es6-repl.html", - "manifest_version": 2, + "manifest_version": 3, + "minimum_chrome_version": "93", "icons": { "128": "art/128.png", "48": "art/48.png", @@ -14,11 +15,15 @@ "tabs" ], "background": { - "scripts": ["background.js"], - "persistent": false + "service_worker": "background.js" }, "web_accessible_resources": [ - "node_modules/traceur/bin/traceur-runtime.js", - "node_modules/babel-polyfill/dist/polyfill.min.js" + { + "resources": [ + "node_modules/traceur/bin/traceur-runtime.js", + "node_modules/babel-polyfill/dist/polyfill.min.js" + ], + "matches": [""] + } ] }