Skip to content

Commit

Permalink
Merge pull request #44 from ThinkRealize/manifest-v3-1
Browse files Browse the repository at this point in the history
  • Loading branch information
余腾靖 authored Aug 5, 2023
2 parents 56c6301 + 6e64380 commit d784b12
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,11 @@ const manifest: Manifest.WebExtensionManifest = {
'128': 'icons/extension-icon-x128.png',
},
};
if (!__DEV__) {
manifest.content_scripts?.unshift({
matches: ['<all_urls>'],
js: ['js/vendor.js'],
});
}

export default manifest;

0 comments on commit d784b12

Please sign in to comment.