diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-06 14:39:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-06 14:39:39 +0200 |
commit | 80624154988f6270a353269c5e76f334e631b349 (patch) | |
tree | 146b590a5e0c68acddda38fb31173e47820c04ec /client/config/webpack.common.js | |
parent | 6fcd19ba737f1f5614a56c6925adb882dea43b8d (diff) | |
download | PeerTube-80624154988f6270a353269c5e76f334e631b349.tar.gz PeerTube-80624154988f6270a353269c5e76f334e631b349.tar.zst PeerTube-80624154988f6270a353269c5e76f334e631b349.zip |
Update videojs -> 6
Diffstat (limited to 'client/config/webpack.common.js')
-rw-r--r-- | client/config/webpack.common.js | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index 61347dba2..da900da85 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js | |||
@@ -260,12 +260,33 @@ module.exports = function (options) { | |||
260 | * | 260 | * |
261 | * See: https://www.npmjs.com/package/copy-webpack-plugin | 261 | * See: https://www.npmjs.com/package/copy-webpack-plugin |
262 | */ | 262 | */ |
263 | |||
263 | // Used by embed.html | 264 | // Used by embed.html |
264 | new CopyWebpackPlugin([ | 265 | new CopyWebpackPlugin([ |
265 | // { | 266 | { |
266 | // from: 'src/assets', | 267 | from: 'src/assets', |
267 | // to: 'assets' | 268 | to: 'assets' |
268 | // }, | 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 | }, | ||
269 | { | 290 | { |
270 | from: 'src/standalone', | 291 | from: 'src/standalone', |
271 | to: 'standalone' | 292 | to: 'standalone' |