Commit Graph

2461 Commits

Author SHA1 Message Date
Sean Larkin e7c2aa624b chore(performance): prevent duplicate error messages from appearing 2016-12-07 17:22:21 +01:00
Sean Larkin 41530a1adc chore(performance): remove debugger statements after verifying passes 2016-12-07 17:22:21 +01:00
Sean Larkin 2bd0b844cb chore(performance): add new test for stats testing case for NoAsyncChunks 2016-12-07 17:22:21 +01:00
Sean Larkin c0068f2ea4 chore(performance): remove dup logic case 2016-12-07 17:22:20 +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 72f049c00e chore(performance): remove lodash dependency for big ass buffer.toString module at fixed size 2016-12-07 17:22:20 +01:00
Sean Larkin b4eacb6764 chore(performance): update NoAsyncChunksWarning referenced url 2016-12-07 17:22:19 +01:00
Sean Larkin cc1914777c chore(performance): fix formatting in warnings/errors 2016-12-07 17:22:19 +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 785cfd50a8 chore(performance): add extra warning file forgot to check in 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 9894b58dd1 fix(performance): modified values to 250kb across the board for accurate reporting, modified string logic 2016-12-07 17:22:18 +01:00
Sean Larkin 1db0e1ac41 chore(performance): update default bytesizes to be more accurate to properties 2016-12-07 17:22:17 +01:00
Sean Larkin 4eff4d74a0 fix(performance): removed hashes from expected.txt because hash changes beteween node v4 and v6/7 2016-12-07 17:22:17 +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 00f9478ea1 fix(performance): removed a consolelog 2016-12-07 17:22:14 +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 65a12dbc79 chore(test): removed accidentally generated test bundles 2016-12-07 17:22:14 +01:00
Sean Larkin 2b72cc9941 removed unneeded require for path 2016-12-07 17:22:13 +01:00
Sean Larkin a01578ab7d chore(performance): update schema description 2016-12-07 17:22:13 +01:00
Sean Larkin 774a89b583 feat(perfbudgets): added errorOnHint flag defaulting to false for opt-in 2016-12-07 17:22:13 +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 dd3c9f25b8 chore(lint): run npm beautify 2016-12-07 17:21:27 +01:00
Sean Larkin 4d89326368 chore(perfbudget): normalize error message indenation and readibility 2016-12-07 17:21:27 +01:00
Sean Larkin 9c337ffd81 chore(perfbudget): license updates 2016-12-07 17:21:26 +01:00
Sean Larkin bdc62243e4 chore(perfbudget): cleaned up visual display and statistics 2016-12-07 17:21:26 +01:00
Sean Larkin 9e8c5f86ea feat(perfbudgets): Add separate classes for warnings, logic rewrite for plugin 2016-12-07 17:21:26 +01:00
Sean Larkin fc85e639c0 chore(cleanup): refactored the emittedAssets Warning to be more modular 2016-12-07 17:21:25 +01:00
Sean Larkin 3fe1692e33 feat(chunk): added isAsync() function and additional NoAsyncChunks warning 2016-12-07 17:21:25 +01:00
Sean Larkin 5747eff8c9 fix(beautify): run npm beautify 2016-12-07 17:21:24 +01:00
Sean Larkin 0f0bdff0e1 fix(syntax): fixed edge case where assets do not exist, and added schema 2016-12-07 17:21:23 +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
Vignesh Shanmugam d3f2927d77 normalize asset size and produce warnings for performance 2016-12-07 17:21:19 +01:00
Sean Larkin cbe2f06850 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:18 +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
Johannes Ewald c5f058bfc8 Merge pull request #3374 from webpack/add/json-support
Add JSON support
2016-12-07 17:01:35 +01:00
Johannes Ewald 56b9aabc22
Update examples and README to reflect that the json-loader is not required anymore 2016-12-07 11:44:12 +01:00
Johannes Ewald 993aeab5b1
Add support for .json files out of the box
See https://github.com/webpack/webpack/issues/3363
2016-12-07 11:43:47 +01:00
Tobias Koppers a1815f807a Merge pull request #3431 from inuscript/async-flag
change internal async variable name (CommonsChunkPlugin)
2016-12-07 09:56:01 +01:00
inuscript 4bf2ba46af revert this.async (avoid may breaking change) 2016-12-07 09:43:17 +09:00
inuscript d03203d260 change async variable name 2016-12-07 08:54:10 +09:00
Tobias Koppers 73886d5f1a Merge pull request #3426 from inuscript/patch-1
Fill available params on CommonsChunkPlugin deprecation notice
2016-12-07 00:10:44 +01:00
Tobias Koppers c07847dbd4 Merge pull request #3429 from webpack/bugfix/beautify
fixes beautify task
2016-12-07 00:10:20 +01:00
Tobias Koppers 73acc3b8af beautify missing files 2016-12-06 19:40:10 +01:00