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

Merge pull request #601 from grafixeyehero/fix

Fix webcomponents-lite bundling
This commit is contained in:
dkanada 2019-12-05 01:11:42 +09:00 committed by GitHub
commit 21321a8d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@
"shaka-player": "^2.5.5",
"sortablejs": "^1.9.0",
"swiper": "^3.4.2",
"webcomponents.js-2": "^0.7.24",
"webcomponents.js": "^0.7.24",
"whatwg-fetch": "^1.1.1"
},
"scripts": {

View file

@ -79,7 +79,7 @@ _define("sortable", function() {
});
// webcomponents
var webcomponents = require("webcomponents.js-2");
var webcomponents = require("webcomponents.js/webcomponents-lite");
_define("webcomponents", function() {
return webcomponents
});

View file

@ -26,7 +26,7 @@ module.exports = {
Assets.map(asset => {
return {
from: path.resolve(__dirname, `./node_modules/${asset}`),
to: path.resolve(__dirname, './dist/libraries')
to: path.resolve(__dirname, "./dist/libraries")
};
})
)