diff --git a/changes/changelog.d/935.bugfix b/changes/changelog.d/935.bugfix new file mode 100644 index 000000000..a7fa51db4 --- /dev/null +++ b/changes/changelog.d/935.bugfix @@ -0,0 +1 @@ +Fixed an issue with embed player CSS being purged during build (#935) \ No newline at end of file diff --git a/front/vue.config.js b/front/vue.config.js index ffaf1cede..7c3d47ef4 100644 --- a/front/vue.config.js +++ b/front/vue.config.js @@ -19,7 +19,9 @@ plugins.push( path.join(__dirname, './**/*.vue'), path.join(__dirname, './src/**/*.js') ]), - whitelist: ['scale'] + whitelist: ['scale'], + whitelistPatterns:[/plyr/], + whitelistPatternsChildren:[/plyr/] }), ) module.exports = {