-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.config.js
More file actions
31 lines (29 loc) · 949 Bytes
/
manifest.config.js
File metadata and controls
31 lines (29 loc) · 949 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { defineManifest } from "@crxjs/vite-plugin";
import pkg from "./package.json";
export default defineManifest(async (env) => ({
manifest_version: 3,
name:
env.mode === "development"
? "IndexedDB Browser (DEV)"
: "IndexedDB Browser",
version: pkg.version,
description:
"Chrome extension that adds a DevTools panel to add, edit, delete and view IndexedDB data in a table.",
// v129 latest anchor positioning changes shipped
// v135 base-select/command/commandfor
minimum_chrome_version: "135",
icons: {
48: "public/idb-browser-48x48.png",
96: "public/idb-browser-96x96.png",
128: "public/idb-browser-128x128.png",
},
devtools_page: "src/devtools/index.html",
action: {
default_icon:
env.mode === "development"
? "public/idb-browser-dev.png"
: "public/idb-browser-48x48.png",
default_popup: "src/popup.html",
default_title: "IndexedDB Browser",
},
}));