aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/config/webpack.common.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/config/webpack.common.js')
-rw-r--r--client/config/webpack.common.js42
1 files changed, 0 insertions, 42 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js
index da900da85..5f6d254cc 100644
--- a/client/config/webpack.common.js
+++ b/client/config/webpack.common.js
@@ -8,7 +8,6 @@ const AssetsPlugin = require('assets-webpack-plugin')
8const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin 8const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
9const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin') 9const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin')
10const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin') 10const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin')
11const CopyWebpackPlugin = require('copy-webpack-plugin')
12const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin 11const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin
13const HtmlWebpackPlugin = require('html-webpack-plugin') 12const HtmlWebpackPlugin = require('html-webpack-plugin')
14const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') 13const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin')
@@ -253,47 +252,6 @@ module.exports = function (options) {
253 ), 252 ),
254 253
255 /* 254 /*
256 * Plugin: CopyWebpackPlugin
257 * Description: Copy files and directories in webpack.
258 *
259 * Copies project static assets.
260 *
261 * See: https://www.npmjs.com/package/copy-webpack-plugin
262 */
263
264 // Used by embed.html
265 new CopyWebpackPlugin([
266 {
267 from: 'src/assets',
268 to: 'assets'
269 },
270 {
271 from: 'node_modules/webtorrent/webtorrent.min.js',
272 to: 'assets/webtorrent'
273 },
274 {
275 from: 'node_modules/video.js/dist/video.min.js',
276 to: 'assets/video-js'
277 },
278 {
279 from: 'node_modules/video.js/dist/video-js.min.css',
280 to: 'assets/video-js'
281 },
282 {
283 from: 'node_modules/videojs-dock/dist/videojs-dock.min.js',
284 to: 'assets/video-js'
285 },
286 {
287 from: 'node_modules/videojs-dock/dist/videojs-dock.css',
288 to: 'assets/video-js'
289 },
290 {
291 from: 'src/standalone',
292 to: 'standalone'
293 }
294 ]),
295
296 /*
297 * Plugin: ScriptExtHtmlWebpackPlugin 255 * Plugin: ScriptExtHtmlWebpackPlugin
298 * Description: Enhances html-webpack-plugin functionality 256 * Description: Enhances html-webpack-plugin functionality
299 * with different deployment options for your scripts including: 257 * with different deployment options for your scripts including: