aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-30 10:03:55 +0200
committerChocobozzz <me@florianbigard.com>2021-08-30 10:03:55 +0200
commit87244e54bbb7e455a394c69386fb5021237627ac (patch)
tree446944dba47bf3f074a753457a8c3102429d3d83
parente4671228c8feaab9713cfb5514bd5583aa729164 (diff)
downloadPeerTube-87244e54bbb7e455a394c69386fb5021237627ac.tar.gz
PeerTube-87244e54bbb7e455a394c69386fb5021237627ac.tar.zst
PeerTube-87244e54bbb7e455a394c69386fb5021237627ac.zip
Remove unused webpack plugin
-rw-r--r--client/webpack/webpack.video-embed.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/client/webpack/webpack.video-embed.js b/client/webpack/webpack.video-embed.js
index 8320d01e7..4c7f7e19c 100644
--- a/client/webpack/webpack.video-embed.js
+++ b/client/webpack/webpack.video-embed.js
@@ -3,7 +3,6 @@ const path = require('path')
3 3
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')
7const ProvidePlugin = require('webpack/lib/ProvidePlugin') 6const ProvidePlugin = require('webpack/lib/ProvidePlugin')
8const MiniCssExtractPlugin = require('mini-css-extract-plugin') 7const MiniCssExtractPlugin = require('mini-css-extract-plugin')
9 8
@@ -162,20 +161,6 @@ module.exports = function () {
162 chunksSortMode: 'auto', 161 chunksSortMode: 'auto',
163 inject: 'body', 162 inject: 'body',
164 chunks: [ 'test-embed' ] 163 chunks: [ 'test-embed' ]
165 }),
166
167 /**
168 * Plugin LoaderOptionsPlugin (experimental)
169 *
170 * See: https://gist.github.com/sokra/27b24881210b56bbaff7
171 */
172 new LoaderOptionsPlugin({
173 options: {
174 context: __dirname,
175 output: {
176 path: helpers.root('dist')
177 }
178 }
179 }) 164 })
180 ], 165 ],
181 166