Sean Larkin
aa90166ebc
Merge pull request #3524 from webpack/bugfix/fix_stats_when_passed_array
...
fix(stats): allow stats to respect array of configs, also bump deps.
2017-01-11 09:15:42 -06:00
Tobias Koppers
f1d56dcc74
add support for multiple different stats objects
2017-01-11 14:37:47 +01:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Sean Larkin
225994b607
Remove bad stats merge
2017-01-10 10:53:41 -06:00
Sean Larkin
03d37489fe
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2017-01-10 10:27:29 -06:00
Tobias Koppers
9380bd4c12
Bugfix/disable module in harmony ( #3755 )
...
* moved format location into separate file
allow dependencies to report errors too
* NullDependencies do not change the hash
* dependencies can opt-out from `__webpack_require__` param
* apply module syntax plugins earlier
* emit errors if using AMD or CommonJS syntax in harmony modules
2017-01-09 10:11:34 -06:00
Will Mendes
b7c1b5c672
refactor(ES6): upgrade Stats to ES6 ( #3724 )
2017-01-04 11:24:55 -06: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
d08c9b180e
flag entrypoint in stats too
2016-12-14 11:50:44 +01:00
Tobias Koppers
37b7474651
Refactoring, make options simpler
...
breaking change: performance options changed
2016-12-14 11:33:57 +01:00
Tobias Koppers
3dfab1053b
beautify
2016-12-07 17:22:21 +01:00
Sean Larkin
44f6f07ec2
chore(performance): cleanup logic errors, reformat test expects with new colomn [big] format if empty
2016-12-07 17:22:20 +01:00
Sean Larkin
c6850b3481
chore(performance): cleaned up unused variables, removed compilation from constructor, added stats additional messages
2016-12-07 17:22:20 +01:00
Sean Larkin
1f9e1a69c6
chore(performance): extract formatSize to helper class, make stats table more reusable
2016-12-07 17:22:19 +01:00
Sean Larkin
23a127b1a4
chore(performance): make table format more consistent for asset headers in Stats
2016-12-07 17:22:18 +01:00
Sean Larkin
93ae6bc32a
chore(performance) cleanup unused functionality, partial cleanup
2016-12-07 17:22:18 +01:00
Sean Larkin
0833c59f46
feat(performance): removed logic out of stats and into plugin for assets over size limit
2016-12-07 17:22:17 +01:00
Sean Larkin
b2622e1bd9
fix(performance): corrected tests, removed options access from stats, added mocks for web target check
2016-12-07 17:22:14 +01:00
Sean Larkin
000dae1889
fix(tests): Updated tests across the board to work with perf budgets
2016-12-07 17:22:13 +01:00
Sean Larkin
e360c8b7c8
fix(test): update test, fix asset type case, and formatting
2016-12-07 17:21:27 +01:00
Sean Larkin
2741098198
feat(perfbudget): creat initialAssetsCost with hardcoded limit
2016-12-07 17:21:22 +01:00
Sean Larkin
e949aa1512
feat(perfbudgets): fixed issues with bad asset checking, and formatting
2016-12-07 17:21:22 +01:00
Vignesh Shanmugam
0084071dac
fix value on the asset stats
2016-12-07 17:21:21 +01:00
Vignesh Shanmugam
7736ebe367
Add color information to stats based on bundle size
2016-12-07 17:21:20 +01:00
Sean Larkin
52bfdab526
feat(perf): added initial setup for perf plugins, need to configure test cases and stats output based on perf props
2016-12-07 17:21:17 +01:00
Yuriy Ostapenko
76e10f3559
Do not exclude module from stats when loader path matches "exclude" filter (unhide module)
2016-11-28 14:36:39 +01:00
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