Reduce bundle sizes
This commit is contained in:
parent
09f35e2a6f
commit
6cca7360eb
17 changed files with 62 additions and 17 deletions
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue