Skip to content

Commit

Permalink
Merge pull request #18 from dutiyesh/feature/manifest-v3
Browse files Browse the repository at this point in the history
Add manifest v3 support
  • Loading branch information
dutiyesh committed Mar 18, 2022
2 parents 8752f7d + 984a27f commit 67f360c
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 67f360c

Please sign in to comment.