mirror of
https://github.com/visortelle/haskell-spotlight.git
synced 2024-08-15 15:00:33 +03:00
Add manifest v3 for Chrome extensions store
This commit is contained in:
parent
deb2eb4fe5
commit
46fa50ba58
@ -14,9 +14,6 @@
|
||||
"all_frames": true
|
||||
}
|
||||
],
|
||||
"background": {
|
||||
"scripts": ["background.js"]
|
||||
},
|
||||
"browser_action": {
|
||||
"default_icon": {
|
||||
"128": "images/icon-192.png"
|
31
browser-extension/assets/manifest-v3.json
Normal file
31
browser-extension/assets/manifest-v3.json
Normal file
@ -0,0 +1,31 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Haskell Spotlight",
|
||||
"short_name": "Haskell Spotlight",
|
||||
"description": "Search on Hackage, Hoogle and more soon.",
|
||||
"homepage_url": "https://github.com/visortelle/hackage-ui",
|
||||
"version": "0.0.7",
|
||||
"icons": { "192": "images/icon-192.png" },
|
||||
"content_scripts": [
|
||||
{
|
||||
"matches": ["<all_urls>"],
|
||||
"js": ["contentscript.js"],
|
||||
"run_at": "document_start",
|
||||
"all_frames": true
|
||||
}
|
||||
],
|
||||
"action": {
|
||||
"default_icon": {
|
||||
"128": "images/icon-192.png"
|
||||
},
|
||||
"default_title": "Haskell Spotlight",
|
||||
"default_popup": "popup.html"
|
||||
},
|
||||
"permissions": [
|
||||
"storage",
|
||||
"unlimitedStorage"
|
||||
],
|
||||
"host_permissions": [
|
||||
"https://hackage-ui.vercel.app/api/*"
|
||||
]
|
||||
}
|
@ -1 +0,0 @@
|
||||
export default {};
|
@ -1,7 +1,6 @@
|
||||
import path from "path";
|
||||
import { Configuration, ProvidePlugin } from "webpack";
|
||||
import TerserPlugin from "terser-webpack-plugin";
|
||||
import * as postcss from 'postcss';
|
||||
|
||||
export default ({
|
||||
mode,
|
||||
@ -10,7 +9,6 @@ export default ({
|
||||
}): Configuration => ({
|
||||
mode,
|
||||
entry: {
|
||||
background: path.resolve(__dirname, "./scripts/contentscript.ts"),
|
||||
contentscript: path.resolve(__dirname, "./scripts/contentscript.ts"),
|
||||
popup: path.resolve(__dirname, "./scripts/popup.ts"),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user