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

Merge pull request #862 from MrTimscampi/gulp-fiction

Use Gulp to build the client
This commit is contained in:
dkanada 2020-03-15 02:56:13 +09:00 committed by GitHub
commit ab7a56d5c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 6169 additions and 752 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;
});

View file

@ -105,5 +105,8 @@
<div class="skinHeader focuscontainer-x"></div>
<div class="mainAnimatedPages skinBody"></div>
<div class="mainDrawerHandle"></div>
<!-- inject:js -->
<!-- endinject -->
</body>
</html>

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;