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:
commit
21321a8d8e
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@
|
||||||
"shaka-player": "^2.5.5",
|
"shaka-player": "^2.5.5",
|
||||||
"sortablejs": "^1.9.0",
|
"sortablejs": "^1.9.0",
|
||||||
"swiper": "^3.4.2",
|
"swiper": "^3.4.2",
|
||||||
"webcomponents.js-2": "^0.7.24",
|
"webcomponents.js": "^0.7.24",
|
||||||
"whatwg-fetch": "^1.1.1"
|
"whatwg-fetch": "^1.1.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -79,7 +79,7 @@ _define("sortable", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
// webcomponents
|
// webcomponents
|
||||||
var webcomponents = require("webcomponents.js-2");
|
var webcomponents = require("webcomponents.js/webcomponents-lite");
|
||||||
_define("webcomponents", function() {
|
_define("webcomponents", function() {
|
||||||
return webcomponents
|
return webcomponents
|
||||||
});
|
});
|
||||||
|
|
|
@ -26,7 +26,7 @@ module.exports = {
|
||||||
Assets.map(asset => {
|
Assets.map(asset => {
|
||||||
return {
|
return {
|
||||||
from: path.resolve(__dirname, `./node_modules/${asset}`),
|
from: path.resolve(__dirname, `./node_modules/${asset}`),
|
||||||
to: path.resolve(__dirname, './dist/libraries')
|
to: path.resolve(__dirname, "./dist/libraries")
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue