Skip to content

Commit

Permalink
update: action without script
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoaugustin committed Aug 9, 2024
1 parent a2d2267 commit 4d99dd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/supex/src/plugins/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ async function generateManifest({ server, outdir, browser, isBuild, metafile }:
default_title: meta.title,
default_popup: 'action.html',
};
} else if (files.icons.action) {
manifest[version === 2 ? 'browser_action' : 'action'] = {
default_icon: files.icons.action ? await buildIcon({ outdir, input: files.icons.action, isBuild }) : undefined,
};
}

if (files.worker) {
Expand Down

0 comments on commit 4d99dd7

Please sign in to comment.