Commit Graph

45 Commits

Author SHA1 Message Date
Tobias Koppers 50d63602b5 fix stats assetsByChunkName
It's now always an array
2018-12-31 09:15:01 +01:00
Tobias Koppers 3079886e47 filter entrypoints from namedChunkGroups in Stats only for printing 2018-12-28 12:57:38 +01:00
Florent Cailhol e85d9d8447 Add namedChunkGroups tests 2018-12-28 09:56:11 +01:00
Tobias Koppers b3319a486d fix incorrect default for some options with all: false 2018-12-25 21:39:25 +01:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Florent Cailhol cd419d0546 Migrate integration tests to Jest 2018-01-24 17:29:57 +01:00
Tobias Koppers cf1d7b8949 `-!` keeps post loader instead of pre loader
add more test cases
2017-12-30 19:34:14 +01:00
Tobias Koppers 0c104a683f separate integration and unit tests, use codecov flags 2017-10-19 17:35:20 +02:00
Tobias Koppers 0f16dd95b1 fixes incorrect CLI stats output
add "detailed" preset
clean up presets to do more useful stuff

fixes #4141
fixes #4118
2017-06-01 15:03:26 +02:00
Tobias Koppers 8b81788a73 fixes for stats 2017-05-28 19:20:17 +02:00
Tim Sebastian ebb82b73e7 fixup function to be able to use arguments 2017-04-09 00:20:40 +10:00
Tobias Koppers d467eabf4c fix incorrect conversion to arrow function 2017-02-03 14:45:37 +01:00
Shubheksha Jalan c1befdd633 refactor(ES6): Stats.test.js 2017-01-18 20:41:11 +05:30
Tobias Koppers f1d56dcc74 add support for multiple different stats objects 2017-01-11 14:37:47 +01:00
Sean Larkin 03d37489fe Merge branch 'master' into bugfix/fix_stats_when_passed_array 2017-01-10 10:27:29 -06:00
Alistair Brown 7a43c0ef25 Update missing should type check calls 2017-01-02 00:44:24 +00:00
Sean Larkin 9014901b9c Merge branch 'master' into bugfix/fix_stats_when_passed_array 2016-12-29 14:34:02 -06:00
Tobias Koppers 71cf49a259 add depth to module
add depth to stats
fix stats spacing (fixes #3541)
add maxModules to stats, default to 15 (fixes #3540)
2016-12-21 18:03:20 +01:00
Sean Larkin a4106ea98f fix(stats): allow stats to respect config for MultiCompiler, MultiStats 2016-12-19 16:53:30 -06:00
Tobias Koppers 808b32ac61 added test cases for extract-text-plugin 2016-09-19 21:13:32 +02:00
Tobias Koppers ac340bce1d improved and fixed stats 2016-09-09 14:19:36 +02:00
Tobias Koppers c51c59cee1 update test cases for stats changes 2016-09-07 09:48:32 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +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
Tobias Koppers dac1354c14 test infrastructure improvements 2016-06-04 14:47:20 +02:00
Tobias Koppers f7c232cbb0 write out stats test results 2016-01-06 23:22:09 +01:00
Kuzya 46ebe3dbbd added test cases for colored output 2015-11-14 16:08:04 +03:00
Tobias Koppers 7cbd78c1da Merge branch 'master' into webpack-2
Conflicts:
	.travis.yml
	bin/config-optimist.js
	test/statsCases/define-plugin/expected.txt
2015-09-19 20:11:48 +02:00
Tobias Koppers f23338e5d8 fixed test 2015-09-03 14:42:00 +02:00
Tobias Koppers 159ef42fa8 fixed #1415 2015-09-03 14:17:11 +02:00
Tobias Koppers 7934faa181 Merge branch 'master' into webpack-2
Conflicts:
	.travis.yml
	bin/config-optimist.js
	package.json
	test/TestCases.test.js
2015-08-09 13:32:19 +02:00
Tobias Koppers c0afdf9c6a beautify tests, lint hot and scripts 2015-08-09 12:42:43 +02:00
Tobias Koppers 44f919ecc7 Merge branch 'master' into webpack-2
Conflicts:
	test/statsCases/chunks/expected.txtT
2015-08-08 09:40:35 +02:00
Juan Lomán 7df871ecd4 Fix test for Windows (backward slash did not match forward slash) 2015-08-03 05:04:58 -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 33e561297a Merge branch 'master' into webpack-2 2015-07-17 09:32:37 +02:00
Tobias Koppers edcda295cb added missing vars 2015-07-17 09:32:21 +02: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
Nick McCready 20980b8545 added specs to bump coverage 2015-06-05 14:17:08 -04:00
Tobias Koppers c92491ff30 better default for chunkFilename and tests 2015-05-16 16:10:25 +02:00
Tobias Koppers d73181f78c moved stats tests 2015-04-28 23:09:37 +02:00
Tobias Koppers fc9b941c62 tests should not include version number 2015-04-26 22:56:55 +02:00
Tobias Koppers f36f4a9b73 workaround for different line endings 2015-04-26 21:43:51 +02:00
Tobias Koppers b758d86529 added Stats toString tests 2015-04-26 21:19:39 +02:00