comparison libervia/pages/_browser/browser_meta.json @ 1336:71f24ad99a2c

pages (js): added `ogv` requirement
author Goffi <goffi@goffi.org>
date Sat, 15 Aug 2020 13:04:09 +0200
parents e35de70f5295
children 7c776c9d7c75
comparison
equal deleted inserted replaced
1335:f2ce8072d89d 1336:71f24ad99a2c
2 "js": { 2 "js": {
3 "package": { 3 "package": {
4 "dependencies": { 4 "dependencies": {
5 "nunjucks": "latest", 5 "nunjucks": "latest",
6 "swiper": "^6.1.1", 6 "swiper": "^6.1.1",
7 "moment": "latest" 7 "moment": "latest",
8 "ogv": "latest"
8 } 9 }
9 }, 10 },
10 "brython_map": { 11 "brython_map": {
11 "nunjucks": "nunjucks/browser/nunjucks.min.js", 12 "nunjucks": "nunjucks/browser/nunjucks.min.js",
12 "swiper": { 13 "swiper": {
13 "path": "swiper/swiper-bundle.min.js", 14 "path": "swiper/swiper-bundle.min.js",
14 "export": ["Swiper"] 15 "export": ["Swiper"]
15 }, 16 },
16 "moment": "moment/min/moment.min.js" 17 "moment": "moment/min/moment.min.js",
18 "ogv": {
19 "path": "ogv/dist/ogv.js",
20 "export": ["OGVCompat", "OGVLoader", "OGVMediaError", "OGVMediaType", "OGVTimeRanges", "OGVPlayer", "OGVVersion"],
21 "extra_init": "OGVLoader.base='/{build_dir}/node_modules/ogv/dist'"
22 }
17 } 23 }
18 } 24 }
19 } 25 }