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

Merge pull request #343 from thornbill/webpack

Bundle npm dependencies using webpack
This commit is contained in:
Joshua M. Boniface 2019-08-27 11:33:57 -04:00 committed by GitHub
commit c8f392bdd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 646 additions and 4142 deletions

View file

@ -818,12 +818,15 @@ var AppInfo = {};
text: "components/require/requiretext"
}
},
bundles: {
bundle: ["jstree"]
},
urlArgs: urlArgs,
paths: paths,
onError: onRequireJsError
});
requirejs.onError = onRequireJsError;
define("jstree", ["thirdparty/jstree/jstree", "css!thirdparty/jstree/themes/default/style.css"], returnFirstDependency);
define("dashboardcss", ["css!css/dashboard"], returnFirstDependency);
define("slideshow", [componentsPath + "/slideshow/slideshow"], returnFirstDependency);
define("fetch", [bowerPath + "/fetch/fetch"], returnFirstDependency);