From ca46c7a373e72774b47ae1e112c38a284e2d00d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Mon, 7 Oct 2019 10:56:17 +0200 Subject: [PATCH] Resolve "Broken embed CSS" --- changes/changelog.d/935.bugfix | 1 + front/vue.config.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changes/changelog.d/935.bugfix 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 = {