view libervia/pages/_browser/browser_meta.json @ 1510:5ea06e8b06ed

browser: make bridge API closer to the one use with other frontends: `bridge.AsyncBridge` is not used instead of `aio_bridge.Bridge`
author Goffi <goffi@goffi.org>
date Mon, 22 May 2023 11:57:44 +0200
parents 7c776c9d7c75
children
line wrap: on
line source

{
    "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'"
            }
        }
    }
}