-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzotero-plugin.config.ts
More file actions
40 lines (39 loc) · 1.18 KB
/
Copy pathzotero-plugin.config.ts
File metadata and controls
40 lines (39 loc) · 1.18 KB
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
32
33
34
35
36
37
38
39
40
import { defineConfig } from "zotero-plugin-scaffold";
export default defineConfig({
source: ["src", "addon"],
dist: ".scaffold/build",
name: "Zotero Smart Highlighter",
xpiName: "zotero-smart-highlighter",
id: "zotero-pdf-highlighter@memorushb.com",
namespace: "zotero-pdf-highlighter",
updateURL:
"https://raw.githubusercontent.com/MemorushB/zotero-smart-highlighter/master/update.json",
build: {
assets: ["addon/**/*.*", "addon/bin/**/*"],
fluent: {
prefixLocaleFiles: false,
prefixFluentMessages: false,
ignore: [],
dts: false,
},
prefs: {
prefixPrefKeys: false,
prefix: "extensions.zotero-pdf-highlighter",
dts: false,
},
esbuildOptions: [
{
entryPoints: ["src/index.ts"],
bundle: true,
target: "firefox115",
format: "iife",
globalName: "ZoteroPlugin",
footer: {
js: "var startup = ZoteroPlugin.startup; var shutdown = ZoteroPlugin.shutdown; var install = ZoteroPlugin.install; var uninstall = ZoteroPlugin.uninstall;",
},
outfile:
".scaffold/build/addon/content/scripts/zotero-pdf-highlighter.js",
},
],
},
});