diff libervia/web/pages/_browser/browser_meta.json @ 1518:eb00d593801d

refactoring: rename `libervia` to `libervia.web` + update imports following backend changes
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 16:49:28 +0200
parents libervia/pages/_browser/browser_meta.json@7c776c9d7c75
children ff633e19a069
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libervia/web/pages/_browser/browser_meta.json	Fri Jun 02 16:49:28 2023 +0200
@@ -0,0 +1,25 @@
+{
+    "js": {
+        "package": {
+            "dependencies": {
+                "nunjucks": "^3.2.3",
+                "swiper": "^6.8.4",
+                "moment": "^2.29.1",
+                "ogv": "^1.8.4"
+            }
+        },
+        "brython_map": {
+            "nunjucks": "nunjucks/browser/nunjucks.min.js",
+            "swiper": {
+                "path": "swiper/swiper-bundle.min.js",
+                "export": ["Swiper"]
+            },
+            "moment": "moment/min/moment.min.js",
+            "ogv": {
+                "path": "ogv/dist/ogv.js",
+                "export": ["OGVCompat", "OGVLoader", "OGVMediaError", "OGVMediaType", "OGVTimeRanges", "OGVPlayer", "OGVVersion"],
+                "extra_init": "OGVLoader.base='/{build_dir}/node_modules/ogv/dist'"
+            }
+        }
+    }
+}