From 0151c246004de1c0f3ad944f3da6c70a76a49c7e Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Mon, 4 Nov 2024 00:20:35 +0800 Subject: 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 --- addon/manifest.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'addon/manifest.json') 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 @@ { "manifest_version": 2, - "name": "DumbyMap", + "name": "MapInline", "version": "1.0", - "description": "Add interatctive Map", + "description": "Add Interatctive Map", "icons": { - "48": "icons/default.ico" + "16": "icons/default-0.png", + "32": "icons/default-1.png", + "48": "icons/default-2.png" }, "browser_action": { @@ -22,8 +24,11 @@ "https://prosemirror.net/examples/*" ], "js": [ - "dumbymap.mjs", - "index.mjs" + "renderers/leaflet.js", + "renderers/maplibre.js", + "renderers/openlayers.js", + "dumbymap.js", + "index.js" ], "css": [ "css/dumbymap.css" -- cgit v1.2.3-70-g09d2