These are chat archives for AngularClass/angular2-webpack-starter

17th
Jul 2016
Luke
@lukealization_twitter
Jul 17 2016 03:59
Any idea why my webpack bundling operation is so damn slow?
82594ms build modules     
23ms seal
42ms optimize
36ms hashing
45ms create chunk assets
13ms additional chunk assets
1ms optimize chunk assets 
869ms optimize assets
225ms emit
Hash: 4a9b3f278cde28f5045c
Version: webpack 1.13.1
Time: 83872ms
here is my webpack config:
var webpack = require('webpack');

module.exports = {
    entry: {
        'vendor': './angular/vendor.ts',
        'app': './angular/main.ts'
    },
    resolve: {
        extensions: ['', '.js', '.ts']
    },
    output: {
        filename: './public/angular/[name].bundle.js'
    },
    module: {
        loaders: [
            {
                test: /\.ts$/,
                loader: 'ts-loader'
            }
        ]
    },
    plugins: [
        new webpack.optimize.CommonsChunkPlugin({
            name: ['app', 'vendor']
        })
    ]
};