Reduce bundle sizes

This commit is contained in:
Chocobozzz 2018-06-07 16:50:33 +02:00
parent 09f35e2a6f
commit 6cca7360eb
No known key found for this signature in database
GPG key ID: 583A612D890159BE
17 changed files with 62 additions and 17 deletions

View file

@ -1,4 +1,5 @@
const helpers = require('./helpers')
const path = require('path')
const CheckerPlugin = require('awesome-typescript-loader').CheckerPlugin
const HtmlWebpackPlugin = require('html-webpack-plugin')
@ -24,7 +25,11 @@ module.exports = function () {
*/
extensions: [ '.ts', '.js', '.json', '.scss' ],
modules: [ helpers.root('src'), helpers.root('node_modules') ]
modules: [ helpers.root('src'), helpers.root('node_modules') ],
alias: {
'video.js$': path.resolve('node_modules/video.js/dist/alt/video.core.js')
}
},
output: {