aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack
diff options
context:
space:
mode:
Diffstat (limited to 'client/webpack')
-rw-r--r--client/webpack/webpack.video-embed.js12
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')
4const HtmlWebpackPlugin = require('html-webpack-plugin') 4const HtmlWebpackPlugin = require('html-webpack-plugin')
5const TerserPlugin = require('terser-webpack-plugin') 5const TerserPlugin = require('terser-webpack-plugin')
6const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') 6const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
7const PurifyCSSPlugin = require('purifycss-webpack')
8const MiniCssExtractPlugin = require('mini-css-extract-plugin') 7const MiniCssExtractPlugin = require('mini-css-extract-plugin')
9 8
10module.exports = function () { 9module.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',