aboutsummaryrefslogtreecommitdiffhomepage
path: root/addon/manifest.json
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-11-08 17:40:23 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-08 20:50:44 +0800
commitc04eff2711d690087d2306e318e03bfcebece5a1 (patch)
tree83bf98d7d73bded3f5a31521df3997046f0bcb65 /addon/manifest.json
parentfc2a1da82934600ee085f1289ae3c6a3107db312 (diff)
fix: redeclaration, use IIFE to load modules
* put bundled scripts into scripts/, this make gitignore easier
Diffstat (limited to 'addon/manifest.json')
-rw-r--r--addon/manifest.json14
1 files changed, 5 insertions, 9 deletions
diff --git a/addon/manifest.json b/addon/manifest.json
index 1b89ccf..243eb81 100644
--- a/addon/manifest.json
+++ b/addon/manifest.json
@@ -18,17 +18,13 @@
18 "content_scripts": [ 18 "content_scripts": [
19 { 19 {
20 "matches": [ 20 "matches": [
21 "*://developer.mozilla.org/*", 21 "<all_urls>"
22 "*://hackmd.io/*",
23 "*://*.ptt.cc/*",
24 "https://prosemirror.net/examples/*",
25 "https://www.openstreetmap.org/*"
26 ], 22 ],
27 "js": [ 23 "js": [
28 "renderers/leaflet.js", 24 "scripts/dumbymap.js",
29 "renderers/maplibre.js", 25 "scripts/leaflet.js",
30 "renderers/openlayers.js", 26 "scripts/maplibre.js",
31 "dumbymap.js", 27 "scripts/openlayers.js",
32 "index.js" 28 "index.js"
33 ], 29 ],
34 "css": [ 30 "css": [