aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack/webpack.video-embed.js
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-19 15:57:52 +0100
committerChocobozzz <me@florianbigard.com>2020-11-19 15:57:52 +0100
commitc4f7fe09cd014b0ec5c0d64fd320780c45461c06 (patch)
treef784271f0956f8b743561ecdc99f60c531b38117 /client/webpack/webpack.video-embed.js
parent4f926722ea6784ea389013378fd233f59077ec8a (diff)
downloadPeerTube-c4f7fe09cd014b0ec5c0d64fd320780c45461c06.tar.gz
PeerTube-c4f7fe09cd014b0ec5c0d64fd320780c45461c06.tar.zst
PeerTube-c4f7fe09cd014b0ec5c0d64fd320780c45461c06.zip
Use sass instead of deprecated node sass
Diffstat (limited to 'client/webpack/webpack.video-embed.js')
-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',