aboutsummaryrefslogtreecommitdiffhomepage
path: root/addon/manifest.json
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-11-04 00:20:35 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-11-04 00:20:35 +0800
commit0151c246004de1c0f3ad944f3da6c70a76a49c7e (patch)
tree254aef50e1a59b0fb7f84598a83355a632b22038 /addon/manifest.json
parent15c85d991530c6eec92597c47012452649b1a503 (diff)
refactor(build): update build script for addon
* To fit file size limit for addon submission of mozilla.org, add scripts for each renderers * add scripts/addon.sh for bundling, with simple rollup commands * scripts/rollup.config.js no more handle addon build
Diffstat (limited to 'addon/manifest.json')
-rw-r--r--addon/manifest.json15
1 files changed, 10 insertions, 5 deletions
diff --git a/addon/manifest.json b/addon/manifest.json
index e7bcbcf..92baf30 100644
--- a/addon/manifest.json
+++ b/addon/manifest.json
@@ -1,12 +1,14 @@
1{ 1{
2 "manifest_version": 2, 2 "manifest_version": 2,
3 "name": "DumbyMap", 3 "name": "MapInline",
4 "version": "1.0", 4 "version": "1.0",
5 5
6 "description": "Add interatctive Map", 6 "description": "Add Interatctive Map",
7 7
8 "icons": { 8 "icons": {
9 "48": "icons/default.ico" 9 "16": "icons/default-0.png",
10 "32": "icons/default-1.png",
11 "48": "icons/default-2.png"
10 }, 12 },
11 13
12 "browser_action": { 14 "browser_action": {
@@ -22,8 +24,11 @@
22 "https://prosemirror.net/examples/*" 24 "https://prosemirror.net/examples/*"
23 ], 25 ],
24 "js": [ 26 "js": [
25 "dumbymap.mjs", 27 "renderers/leaflet.js",
26 "index.mjs" 28 "renderers/maplibre.js",
29 "renderers/openlayers.js",
30 "dumbymap.js",
31 "index.js"
27 ], 32 ],
28 "css": [ 33 "css": [
29 "css/dumbymap.css" 34 "css/dumbymap.css"