diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-23 14:49:52 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-23 15:10:57 +0200 |
commit | 202e72231750705b1a071d57206424eef1fc5be1 (patch) | |
tree | af19fc202d51764132d59cd0e99874c7de356f50 /client/config/webpack.common.js | |
parent | 0c31c33dcb0baaa8d3aeedb63336dfe2ae6e5585 (diff) | |
download | PeerTube-202e72231750705b1a071d57206424eef1fc5be1.tar.gz PeerTube-202e72231750705b1a071d57206424eef1fc5be1.tar.zst PeerTube-202e72231750705b1a071d57206424eef1fc5be1.zip |
Process embed in webpack too
Diffstat (limited to 'client/config/webpack.common.js')
-rw-r--r-- | client/config/webpack.common.js | 42 |
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') | |||
8 | const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin | 8 | const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin |
9 | const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin') | 9 | const ContextReplacementPlugin = require('webpack/lib/ContextReplacementPlugin') |
10 | const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin') | 10 | const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin') |
11 | const CopyWebpackPlugin = require('copy-webpack-plugin') | ||
12 | const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin | 11 | const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin |
13 | const HtmlWebpackPlugin = require('html-webpack-plugin') | 12 | const HtmlWebpackPlugin = require('html-webpack-plugin') |
14 | const LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin') | 13 | const 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: |