Skip to content

Commit

Permalink
Add manifest v3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dutiyesh committed Mar 18, 2022
1 parent 8752f7d commit 984a27f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function createExtension(name, { overridePage, devtools }) {
let appManifest = Object.assign(
{},
{
manifest_version: 2,
manifest_version: 3,
},
manifestDetails,
{
Expand All @@ -218,8 +218,7 @@ function createExtension(name, { overridePage, devtools }) {
128: 'icons/icon_128.png',
},
background: {
scripts: ['background.js'],
persistent: false,
service_worker: 'background.js',
},
}
);
Expand Down Expand Up @@ -247,7 +246,7 @@ function createExtension(name, { overridePage, devtools }) {
{},
appManifest,
{
browser_action: {
action: {
default_title: manifestDetails.name,
default_popup: 'popup.html',
},
Expand Down

0 comments on commit 984a27f

Please sign in to comment.