diff --git a/manifests/manifest-edge.json b/manifests/manifest-edge.json index 10398805..eafa47af 100644 --- a/manifests/manifest-edge.json +++ b/manifests/manifest-edge.json @@ -41,16 +41,12 @@ ] }, "background": { - "scripts": [ - "dist/background.js" - ], - "persistent": true + "service_worker": "dist/background.js" }, "sandbox": { "pages": [ "view/argon.html" - ], - "content_security_policy": "sandbox allow-scripts; script-src 'self' 'unsafe-eval';" + ] }, "permissions": [ "activeTab", diff --git a/package.json b/package.json index 27ae459a..0055a0e3 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "dev:chrome": "npm run pretest && webpack --config ./webpack.watch.js", "chrome": "bash scripts/build.sh chrome", "firefox": "bash scripts/build.sh firefox", + "edge": "bash scripts/build.sh edge", "prod": "bash scripts/build.sh prod", "pretest": "bash scripts/build.sh test", "test": "node scripts/test-runner.js"