Commit Graph

35 Commits

Author SHA1 Message Date
Tobias Koppers 4492c30ac4 Update watching system to report more timing info to webpack
Add snapshotting feature to FileSystemInfo for better performance
2019-01-09 14:42:54 +01:00
Tobias Koppers 14ec0aa4cf remove the static memory cache, leaving only the per compilation memory cache
Otherwise this leaks memory
2018-12-20 17:32:52 +01:00
Tobias Koppers 123b0a64e7 add plugin system for Stats presets, defaults, creation and printing 2018-12-18 22:07:14 +01:00
Florent Cailhol 9caaa664f7 Refactor webpack main 2018-12-09 15:32:03 +01:00
Florent Cailhol 586b884ae3 Remove concord support 2018-11-29 08:01:21 +01:00
Tobias Koppers 044ad3725b test memory cache too 2018-10-30 14:29:22 +01:00
Tobias Koppers ca69e9423d fix/workaround memory leaks 2018-10-30 13:46:50 +01:00
Tobias Koppers 2bf48ca934 Split caching tests into separate suites 2018-10-30 09:54:43 +01:00
Tobias Koppers 6b0da68ed9 run all test cases with caching 2018-10-17 22:15:46 +02:00
Ed Morley 79910c6ba5 Switch from uglifyjs-webpack-plugin to terser-webpack-plugin
Some history:
* `uglifyjs-webpack-plugin` < v1.0 used the minifier `uglify-js`
* however `uglify-js` does not support ES6, which resulted in a fork
  called `uglify-es` that was developed in the `uglify-js` repository,
  but under the `harmony` branch
* `uglifyjs-webpack-plugin` v1.x switched to `uglify-es` for ES6 support
* however `uglify-es` stopped being maintained:
  https://github.com/mishoo/UglifyJS2/issues/3156#issuecomment-392943058
* which led to a fork called `terser` that has incorporated all of
  the unmerged PRs and will be where all new development occurs:
  https://github.com/fabiosantoscode/terser
* `terser-webpack-plugin` was created, which is the `terser` equivalent
  of `uglifyjs-webpack-plugin`:
  https://github.com/webpack-contrib/terser-webpack-plugin
* `uglifyjs-webpack-plugin` v2.x will be switching back to `uglify-js`,
  so any project that needs to support ES6 now needs to switch to
  `terser-webpack-plugin`.

Fixes #7923.
2018-09-15 12:29:14 +01:00
Florent Cailhol 7b02084bc5 Replace Basic and Advanced optimzation hooks by stages 2018-08-16 14:10:51 +02:00
Tobias Koppers c9eb4c8e01 Merge tag 'v4.16.4' into next
4.16.4
2018-08-02 16:00:39 +02:00
Tobias Koppers 01cfe5b67a improve way of adding exported tests to test tree 2018-08-02 14:45:50 +02:00
Tobias Koppers 5e72a6505a remove deprecated optimization options
and update test cases
2018-07-16 10:32:02 +02:00
Tobias Koppers a4825654eb upgrade jest 2018-07-10 16:02:02 +02:00
Tobias Koppers 5c604f93f6
Merge branch 'master' into feat-implement-option-for-hashed-module-ids-plugin 2018-06-07 14:21:09 +02:00
Tobias Koppers 4cd0cf5b5c
Merge pull request #7379 from xtuc/refactor-use-wast-in-tests
switch to tests to wast
2018-05-25 22:41:30 +02:00
evilebottnawi c222a6f33b feat: implement option for `HashedModuleIdes` plugin 2018-05-25 16:41:20 +03:00
Sven SAULEAU acc45fd806
refactor: switch to wast 2018-05-24 14:12:11 +02:00
Tobias Koppers 4a541303c9 Upgrade jest
increase timeout
fix hanging
avoid inspector in CI
setup jest caching
2018-05-24 12:52:48 +02:00
Florent Cailhol 9b37c6bf2c Replace Jade by Pug 2018-05-10 09:13:17 +02:00
Tobias Koppers 908b4654bf remove spammy output in CI 2018-04-30 17:26:37 +02:00
Bazyli Brzóska 002b04fe9c no need for is-ci package + use stderr for live printing 2018-04-26 23:39:04 +02:00
Bazyli Brzóska 3655f05103 add a workaround for jest clearing up the wrong resource 2018-04-19 15:54:34 +02:00
Bazyli Brzóska dc6d02cec1 add CI logging during compilation execution 2018-04-19 11:52:59 +02:00
Bazyli Brzóska 15f831e8db catch exception during TestCases compilation run 2018-04-19 11:52:36 +02:00
Bazyli Brzóska 291be20a3d increase timeout for TestCases to 10s 2018-04-12 00:20:08 +02:00
Bazyli Brzóska 64bed0a702 bump up timeout on TestCases 2018-04-11 23:55:48 +02:00
Bazyli Brzóska 09ee9f4883 migration of new tests and changes after merge of master 2018-04-11 20:31:28 +02:00
Bazyli Brzóska aff29fe3ba run prettier across the codebase 2018-04-10 22:52:22 +02:00
Bazyli Brzóska 3abb6e7939 jest: more fixes for running tests well 2018-03-07 00:16:19 +01:00
Bazyli Brzóska 49ff3d4e18 define tests asynchronously 2018-03-05 22:48:18 +01:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Bazyli Brzóska 7b5c3516f6 Merge branch 'v4-beta3' into jest
# Conflicts:
#	test/BenchmarkTestCases.benchmark.js
#	test/CachePlugin.unittest.js
#	test/HotTestCases.test.js
#	test/NormalModule.unittest.js
#	test/ProfilingPlugin.unittest.js
#	test/TestCases.test.js
#	test/configCases/parsing/harmony-this/index.js
#	test/configCases/plugins/profiling-plugin/index.js
#	test/configCases/plugins/profiling-plugin/webpack.config.js
#	test/watchCases/runtime/static-import/0/index.js
#	yarn.lock
2018-02-25 11:41:05 +01:00
Bazyli Brzóska 47a16ebea6 split TestCases into mulitple files for better batching in jest 2018-02-25 01:16:11 +01:00