1
0
Fork 0

Client: avoid loading javascript ressource over the network

This commit is contained in:
Chocobozzz 2017-04-17 12:24:18 +02:00
parent c689fcdca2
commit 240c64c5f4
2 changed files with 2 additions and 22 deletions

View file

@ -72,11 +72,7 @@ module.exports = function (options) {
*/
extensions: [ '.ts', '.js', '.json', '.scss' ],
modules: [ helpers.root('src'), helpers.root('node_modules') ],
alias: {
'video.js': 'video.js/dist/alt/video.novtt'
}
modules: [ helpers.root('src'), helpers.root('node_modules') ]
},
/*
@ -223,22 +219,6 @@ module.exports = function (options) {
from: 'node_modules/webtorrent/webtorrent.min.js',
to: 'assets/webtorrent'
},
{
from: 'node_modules/video.js/dist/video.min.js',
to: 'assets/video-js'
},
{
from: 'node_modules/video.js/dist/video-js.min.css',
to: 'assets/video-js'
},
{
from: 'node_modules/videojs-dock/dist/videojs-dock.min.js',
to: 'assets/video-js'
},
{
from: 'node_modules/videojs-dock/dist/videojs-dock.css',
to: 'assets/video-js'
},
{
from: 'src/standalone',
to: 'standalone'

View file

@ -78,7 +78,7 @@
"tslint-loader": "^3.3.0",
"typescript": "~2.2.0",
"url-loader": "^0.5.7",
"video.js": "^5.11.9",
"video.js": "^5.19.2",
"videojs-dock": "^2.0.2",
"webpack": "^2.2.0",
"webpack-md5-hash": "0.0.5",