Skip to content
Snippets Groups Projects
Commit 3f837189 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'broken-messages' into 'develop'

Disabled Purge CSS, it's causing too many issues

See merge request funkwhale/funkwhale!1045
parents 27ef0794 4d98cdd4
No related branches found
No related tags found
No related merge requests found
......@@ -17,19 +17,21 @@ let plugins = [
if (process.env.BUNDLE_ANALYZE === '1') {
plugins.push(new BundleAnalyzerPlugin())
}
plugins.push(
new PurgecssPlugin({
paths: glob.sync([
path.join(__dirname, './public/index.html'),
path.join(__dirname, './public/embed.html'),
path.join(__dirname, './**/*.vue'),
path.join(__dirname, './src/**/*.js')
]),
whitelist: ['scale'],
whitelistPatterns: [/plyr/, /toast/, /theme/],
whitelistPatternsChildren: [/plyr/, /dropdown/, /upward/]
}),
)
// Disabled because it causes some issues, like #1032, since some useful rules are still
// removed, and we cannot detect this during development
// plugins.push(
// new PurgecssPlugin({
// paths: glob.sync([
// path.join(__dirname, './public/index.html'),
// path.join(__dirname, './public/embed.html'),
// path.join(__dirname, './**/*.vue'),
// path.join(__dirname, './src/**/*.js')
// ]),
// whitelist: ['scale'],
// whitelistPatterns: [/plyr/, /toast/, /transition/, /visible/],
// whitelistPatternsChildren: [/plyr/, /dropdown/, /upward/]
// }),
// )
module.exports = {
publicPath: baseUrl,
productionSourceMap: false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment