diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-30 10:03:55 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-30 10:03:55 +0200 |
commit | 87244e54bbb7e455a394c69386fb5021237627ac (patch) | |
tree | 446944dba47bf3f074a753457a8c3102429d3d83 /client/webpack | |
parent | e4671228c8feaab9713cfb5514bd5583aa729164 (diff) | |
download | PeerTube-87244e54bbb7e455a394c69386fb5021237627ac.tar.gz PeerTube-87244e54bbb7e455a394c69386fb5021237627ac.tar.zst PeerTube-87244e54bbb7e455a394c69386fb5021237627ac.zip |
Remove unused webpack plugin
Diffstat (limited to 'client/webpack')
-rw-r--r-- | client/webpack/webpack.video-embed.js | 15 |
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 | ||
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') | ||
7 | const ProvidePlugin = require('webpack/lib/ProvidePlugin') | 6 | const ProvidePlugin = require('webpack/lib/ProvidePlugin') |
8 | const MiniCssExtractPlugin = require('mini-css-extract-plugin') | 7 | const 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 | ||