changeset 1303:a48fe20f60c7

browser (js): added `swiper` and `moment` js modules
author Goffi <goffi@goffi.org>
date Thu, 16 Jul 2020 09:08:50 +0200
parents 04e7dd6b6f4d
children 70e3341d25bf
files libervia/pages/_browser/browser_meta.json
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/pages/_browser/browser_meta.json	Thu Jul 16 09:08:47 2020 +0200
+++ b/libervia/pages/_browser/browser_meta.json	Thu Jul 16 09:08:50 2020 +0200
@@ -2,11 +2,18 @@
     "js": {
         "package": {
             "dependencies": {
-                "nunjucks": "latest"
+                "nunjucks": "latest",
+                "swiper": "latest",
+                "moment": "latest"
             }
         },
         "brython_map": {
-            "nunjucks": "nunjucks/browser/nunjucks.min.js"
+            "nunjucks": "nunjucks/browser/nunjucks.min.js",
+            "swiper": {
+                "path": "swiper/js/swiper.min.js",
+                "export": ["Swiper"]
+            },
+            "moment": "moment/min/moment.min.js"
         }
     }
 }