view libervia/pages/_browser/browser_meta.json @ 1257:1ec41ac1e7cf

server: seperation between production build dir and dev build dir: LiberviaRootResource instances's `build_path` is the path where generated files are put and served by the HTTP server, while `dev_buid_path` is used for temporary files/libraries needed for the generation/compilation of files.
author Goffi <goffi@goffi.org>
date Sun, 03 May 2020 18:25:11 +0200
parents
children
line wrap: on
line source

{
    "js": {
        "package": {
            "dependencies": {
                "nunjucks": "latest",
                "ogv": "latest"
            }
        },
        "brython_map": {
            "nunjucks": "nunjucks/browser/nunjucks.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'"
            }
        }
    }
}