diff options
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' |