When running my build on the stable branch i get this
Hash: bcb00f2d62e74000ed17
Version: webpack 1.13.0
Time: 4193ms
Asset Size Chunks Chunk Names
index.bundle.js 2.26 MB 0 [emitted] main
index.bundle.js.map 2.55 MB 0 [emitted] main
+ 356 hidden modules
but when i upgrade to the latest beta the bundled file size and the number of modules becomes much more
Hash: 7fcf40a3eb38c81d3e15
Version: webpack 2.1.0-beta.7
Time: 4562ms
Asset Size Chunks Chunk Names
index.bundle.js 6.9 MB 0 [emitted] main
+ 465 hidden modules
The bundled application is here angular2-esnext-todomvc.
Do not use -d shortcut. It resets
devtool
toeval
. Seems like a bug.@vpachedzhi The only explanation I can think of is that source maps are getting inlined in your webpack 2 setup. Could it be that
-d
flag that enables the behavior? You could try settingdevtool: 'source-map'
explicitly in your configuration to generate the separate source map files.