Fix webpack issues until we get webpack 5

This commit is contained in:
Travis Shivers 2020-08-01 15:16:33 -05:00
parent f5ca670b0a
commit 086d087313
No known key found for this signature in database
GPG Key ID: EE4CC2891B8FCD33
3 changed files with 13 additions and 1 deletions

View File

@ -2,4 +2,11 @@ module.exports = {
presets: [ presets: [
'@vue/cli-plugin-babel/preset', '@vue/cli-plugin-babel/preset',
], ],
// https://github.com/webpack/webpack/issues/10227
// TODO: remove these plugins when we get webpack 5
plugins: [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
}; };

View File

@ -18,6 +18,8 @@
"vuex": "^3.5.1" "vuex": "^3.5.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@vue/cli-plugin-babel": "^4.4.6", "@vue/cli-plugin-babel": "^4.4.6",
"@vue/cli-plugin-eslint": "^4.4.6", "@vue/cli-plugin-eslint": "^4.4.6",
"@vue/cli-plugin-router": "^4.4.6", "@vue/cli-plugin-router": "^4.4.6",

View File

@ -299,9 +299,12 @@ export default {
type: 'video', type: 'video',
continuous: 1, continuous: 1,
uri: `server://${machineIdentifier}/com.plexapp.plugins.library/library/metadata/${ratingKey}`, uri: `server://${machineIdentifier}/com.plexapp.plugins.library/library/metadata/${ratingKey}`,
repeat: 0,
own: 1, own: 1,
includeExternalMedia: 1,
includeChapters: 1, includeChapters: 1,
includeMarkers: 1,
includeGeolocation: 1,
includeExternalMedia: 1,
}, },
signal, signal,
}); });