Commit Graph

71 Commits

Author SHA1 Message Date
Tobias Koppers ac340bce1d improved and fixed stats 2016-09-09 14:19:36 +02:00
Tobias Koppers b24bbdcf22 add providedExports to stats 2016-09-07 09:46:39 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00
Tobias Koppers 1ee3585fa1 compilation error don't affect parent module
recover after syntax error
assume es6 module on syntax error

#2117
2016-07-03 13:13:01 +02:00
Tobias Koppers 78307a937f allow to display used exports
support Tree Shaking with import *
fixes #2713
2016-06-29 01:17:59 +02:00
Kenny Tran eebc5ceaf6 Fix no-redeclare in code 2016-01-18 18:57:42 -08:00
Kuzya 33356f65ba fix code styling to pass tests 2015-11-14 01:05:20 +03:00
Alexander Kuznetsov dcb0cf7af3 Configurable stats colors
Default colors may not look good with some terminal color settings, so this patch allows to setup stats colors explicitly:

```
var config = {
  stats: {
    colors: {
      yellow: '\u001b[33m',
      green: '\u001b[32m'
    }
  }
}
```

`colors: true` will use default colors.
2015-11-09 13:33:32 +03:00
Tobias Koppers 44f919ecc7 Merge branch 'master' into webpack-2
Conflicts:
	test/statsCases/chunks/expected.txtT
2015-08-08 09:40:35 +02:00
Tobias Koppers 8f44bc3e7b fixed a bug with incorrect ordering of index and index2
this caused incorrect order of rules in extracted css
expose index and index2 to the stats
2015-08-06 13:22:46 +02:00
Juan Lomán ce789e21d3 Appveyor timed out again 2015-08-03 05:15:08 -05:00
Juan Lomán d9dd39aeae Trim trailing whitespace aided by editorconfig 2015-08-03 04:46:29 -05:00
Juan Lomán ae0879aac9 Appveyor weirdness 2015-08-03 04:42:50 -05:00
Juan Lomán be2c668b4a Appveyor beautify-check compliance 2015-08-03 04:26:46 -05:00
Juan Lomán 7e58665917 Add stats config presets.
`stats.toJson` and `stats.toString` now accept string/boolean values: `none` (or false), `errors-only`, `minimal`, `normal` (or true), `verbose`.  A new static function was added: `Stats.presetToOptions(name)`, returns the options object from a preset name.
2015-08-03 04:01:29 -05:00
Tobias Koppers 431a4c791c Merge branch 'master' into webpack-2
Conflicts:
	hot/dev-server.js
	hot/only-dev-server.js
	hot/poll.js
	hot/signal.js
	lib/ChunkTemplate.js
	lib/HotModuleReplacement.runtime.js
	lib/HotModuleReplacementPlugin.js
	lib/JsonpMainTemplatePlugin.js
	lib/MainTemplate.js
	lib/NormalModule.js
	lib/Parser.js
	lib/RecordIdsPlugin.js
	lib/WebpackOptionsApply.js
	lib/dependencies/RequireEnsureDependency.js
	lib/node/OldNodeWatchFileSystem.js
	lib/optimize/OccurrenceOrderPlugin.js
	package.json
2015-07-17 09:30:37 +02:00
Tobias Koppers 5cd6e7d0b3 fixed a few linting issues 2015-07-16 00:39:56 +02:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Tobias Koppers cf30eeeb0f Merge branch 'master' into webpack-2
Conflicts:
	lib/ChunkTemplate.js
	lib/Compilation.js
	lib/HotModuleReplacement.runtime.js
	test/TestCases.test.js
	test/statsCases/chunks/expected.txt
	test/statsCases/simple-more-info/expected.txt
	test/statsCases/simple/expected.txt
2015-07-01 00:44:17 +02:00
Tobias Koppers 02522f11c3 throw an error when trying to use [chunkhash]
... when it's not allowed.
I. e. with HMR enabled [chunkhash] for the entry chunk
is not allowed. Now it throws an error.

Also fixes a bug where [chunkhash] doesn't have to correct
length. fixes #1192
2015-06-27 11:34:17 +02:00
Tobias Koppers 66df34688e Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	lib/webpack.js
2015-06-07 22:24:03 +02:00
Nick McCready 64ef3176cd Stats error reporting catches string errors. Some plugins appear to not obey the rules on error reporting. However this makes debuging a nightmare for users. Therefore the string should be allowed. 2015-06-05 13:35:54 -04:00
Tobias Koppers 20fe1ed007 Show time when zero 2015-05-23 13:05:08 +02:00
Tobias Koppers ff7848369a Merge branch 'master' into webpack-2
Conflicts:
	bin/webpack.js
	package.json
2015-05-10 20:41:04 +02:00
Tobias Koppers d3a7994e35 expose `loc` for every Dependency 2015-05-10 18:31:58 +02:00
Tobias Koppers f4b9d5f57a Merge branch 'master' into webpack-2
Conflicts:
	lib/Compilation.js
	lib/Compiler.js
	lib/DefinePlugin.js
	lib/HotModuleReplacementPlugin.js
	lib/Parser.js
	lib/node/NodeSourcePlugin.js
	lib/node/OldNodeWatchFileSystem.js
	package.json
2015-04-27 20:22:13 +02:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 9c26ffe6a8 Merge branch 'master' into webpack-2
Conflicts:
	lib/Stats.js
2015-04-20 21:08:42 +02:00
Tobias Koppers 9b0233efdf fixed #991 2015-04-20 20:31:24 +02:00
Tobias Koppers d9509e8e8d add publicPath to stats 2015-04-17 10:17:10 +02:00
Tobias Koppers ab149eb4d4 Merge branch 'hot-multi-pass' of https://github.com/webpack/webpack.git into webpack-2
Conflicts:
	lib/Compilation.js
2015-03-05 22:30:24 +01:00
hkal 62d87e20b1 Improve size output readability
* abbreviate bytes with appropriate multiples
2015-03-04 00:18:44 -05:00
Tobias Koppers fb49376f6d Added multi pass hot mode #669 2015-01-30 00:46:52 +01:00
Tobias Koppers adfcfce15f watching of missing files, fixed #668
store missing files from errors for missingDependencies
make the new watching plugins default
added OldWatchingPlugin
2015-01-17 21:55:44 +01:00
Tobias Koppers 544c368ea1 added support for an async commons chunk, tests and examples 2015-01-11 23:15:11 +01:00
Tobias Koppers 4b5e7339f4 chunkHash in stats output
fixed #647
2014-12-31 13:42:05 +01:00
Tobias Koppers 992231a1c8 added `exclude` option to stats
added `--display-exclude` and `--display-modules`
exclude common package manager folders by default
fixes #473
2014-09-15 11:46:33 +02:00
Tobias Koppers 764c139ae1 added `cachedAssets` stats option
fixes webpack/webpack-dev-middleware#17
2014-08-28 11:04:48 +02:00
Christoffer Wolgast ab630347ad Make stats version output configurable 2014-08-01 15:19:15 +02:00
Tobias Koppers ab2c02ac25 nicer looking stats 2014-07-23 14:41:54 +02:00
Tobias Koppers 829e3f549d assetsByChunkName should be an array for multiple assets
fixes #351
2014-07-09 13:37:06 +02:00
Tobias Koppers b3a7013550 fixed [optional] output 2014-07-09 13:13:02 +02:00
Tobias Koppers 5104661855 optional externals
track optional modules
optional externals for UMD and root
fixes #339
2014-07-03 00:00:06 +02:00
Tobias Koppers d80cdcefac Code Quality 2014-06-24 18:53:32 +02:00
Tobias Koppers 44bb43854f Added experimental MultiCompiler
webpack(...) takes an array
support an array in webpack.config.js
2014-06-11 22:26:50 +02:00
Tobias Koppers a8c7dc26d9 fixed some issues 2014-06-02 21:26:57 +02:00
Eric Eldredge ebda431399 Add assets to module stats 2014-05-21 11:51:08 -04:00
Tobias Koppers 0467f4b00a added newline after each child stats 2014-04-18 14:58:57 +02:00
Tobias Koppers 59321874df give information about chunk name to asset mapping 2014-03-31 08:46:04 +02:00