1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Move polyfills to bundle

This commit is contained in:
MrTimscampi 2020-03-13 09:43:30 +01:00
parent d69610dc70
commit ca01ca50b1
5 changed files with 27 additions and 7206 deletions

View file

@ -97,6 +97,8 @@ _define("material-icons", function() {
return material_icons;
});
// Noto Sans
var jellyfin_noto = require("jellyfin-noto");
_define("jellyfin-noto", function () {
return jellyfin_noto;
@ -107,3 +109,8 @@ var page = require("page");
_define("page", function() {
return page;
});
var polyfill = require("@babel/polyfill/dist/polyfill");
_define("polyfill", function () {
return polyfill;
});

File diff suppressed because it is too large Load diff

View file

@ -738,7 +738,8 @@ var AppInfo = {};
"webcomponents",
"material-icons",
"jellyfin-noto",
"page"
"page",
"polyfill"
]
},
urlArgs: urlArgs,
@ -746,6 +747,8 @@ var AppInfo = {};
onError: onRequireJsError
});
require(["polyfill"]);
// Expose jQuery globally
require(["jQuery"], function(jQuery) {
window.$ = jQuery;