X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fwebpack%2Fwebpack.video-embed.js;h=70141527c18190efa8866e9c64e8ac86fb1571b2;hb=4ec25ae825f8dee44d948b38d8216f9a239ff7b3;hp=b20a2187280ea735f9878edfdb2bab5b2685af2e;hpb=4f926722ea6784ea389013378fd233f59077ec8a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js index b20a21872..70141527c 100644 --- a/client/webpack/webpack.video-embed.js +++ b/client/webpack/webpack.video-embed.js @@ -4,7 +4,6 @@ const path = require('path') const HtmlWebpackPlugin = require('html-webpack-plugin') const TerserPlugin = require('terser-webpack-plugin') const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') -const PurifyCSSPlugin = require('purifycss-webpack') const MiniCssExtractPlugin = require('mini-css-extract-plugin') module.exports = function () { @@ -117,17 +116,6 @@ module.exports = function () { : '[name].[hash].css' }), - new PurifyCSSPlugin({ - paths: [ - helpers.root('src/standalone/videos/embed.ts'), - helpers.root('src/standalone/videos/test-embed.html') - ], - purifyOptions: { - minify: true, - whitelist: [ '*vjs*', '*video-js*' ] - } - }), - new HtmlWebpackPlugin({ template: 'src/standalone/videos/embed.html', filename: 'embed.html',