Resolve "Broken embed CSS"

This commit is contained in:
Ciarán Ainsworth 2019-10-07 10:56:17 +02:00 committed by Eliot Berriot
parent 34ffab2707
commit ca46c7a373
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1 @@
Fixed an issue with embed player CSS being purged during build (#935)

View File

@ -19,7 +19,9 @@ plugins.push(
path.join(__dirname, './**/*.vue'), path.join(__dirname, './**/*.vue'),
path.join(__dirname, './src/**/*.js') path.join(__dirname, './src/**/*.js')
]), ]),
whitelist: ['scale'] whitelist: ['scale'],
whitelistPatterns:[/plyr/],
whitelistPatternsChildren:[/plyr/]
}), }),
) )
module.exports = { module.exports = {