Mercurial > libervia-web
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libervia/pages/_browser/browser_meta.json Sun May 03 18:25:11 2020 +0200 @@ -0,0 +1,18 @@ +{ + "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'" + } + } + } +}