Merge branch '935-broken-embed-css' into 'develop'

Resolve "Broken embed CSS"

Closes #935

See merge request funkwhale/funkwhale!920
This commit is contained in:
Eliot Berriot 2019-10-07 10:56:17 +02:00
commit 1d3e7963a8
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 = {