diff options
Diffstat (limited to 'client/webpack/webpack.video-embed.js')
-rw-r--r-- | client/webpack/webpack.video-embed.js | 12 |
1 files changed, 0 insertions, 12 deletions
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') | |||
4 | const HtmlWebpackPlugin = require('html-webpack-plugin') | 4 | const HtmlWebpackPlugin = require('html-webpack-plugin') |
5 | const TerserPlugin = require('terser-webpack-plugin') | 5 | const TerserPlugin = require('terser-webpack-plugin') |
6 | const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') | 6 | const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') |
7 | const PurifyCSSPlugin = require('purifycss-webpack') | ||
8 | const MiniCssExtractPlugin = require('mini-css-extract-plugin') | 7 | const MiniCssExtractPlugin = require('mini-css-extract-plugin') |
9 | 8 | ||
10 | module.exports = function () { | 9 | module.exports = function () { |
@@ -117,17 +116,6 @@ module.exports = function () { | |||
117 | : '[name].[hash].css' | 116 | : '[name].[hash].css' |
118 | }), | 117 | }), |
119 | 118 | ||
120 | new PurifyCSSPlugin({ | ||
121 | paths: [ | ||
122 | helpers.root('src/standalone/videos/embed.ts'), | ||
123 | helpers.root('src/standalone/videos/test-embed.html') | ||
124 | ], | ||
125 | purifyOptions: { | ||
126 | minify: true, | ||
127 | whitelist: [ '*vjs*', '*video-js*' ] | ||
128 | } | ||
129 | }), | ||
130 | |||
131 | new HtmlWebpackPlugin({ | 119 | new HtmlWebpackPlugin({ |
132 | template: 'src/standalone/videos/embed.html', | 120 | template: 'src/standalone/videos/embed.html', |
133 | filename: 'embed.html', | 121 | filename: 'embed.html', |