Commit Graph

87 Commits

Author SHA1 Message Date
Tobias Koppers 659e8ab358 make ConfigTestCases templated to allow extending 2020-06-02 12:30:39 +02:00
Tobias Koppers 2da5345dd0 add test case for entry and container in one entry 2020-04-29 12:45:52 +02:00
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
Tobias Koppers 6400fd42b4
Merge pull request #10139 from yurynix/relative-dir-runtime-chunk-loading
Make inner folder entrypoints able to require common chunks
2020-01-17 11:39:52 +01:00
Tobias Koppers e463c432f7 improve tests and test infrastructure 2020-01-16 15:40:41 +01:00
shisama fa652bb8ec Remove mkdirp package from devDependencies
webpack supports Node.js 10.13.0 as minimum Node.js version now.
Node.js 10.13.0 provides recursive option for fs.mkdirSync.
So, mkdirp package is not needed.
2020-01-14 00:29:12 +09:00
Tobias Koppers 63afbf9bf1 add deprecation testing for config test cases 2019-12-17 17:18:52 +01:00
Tobias Koppers fe790eea65 update eslint and lint-staged 2019-08-06 10:57:37 +02:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers 9b2b1b4bf7 fix deprecation messages in test 2019-07-26 13:16:21 +02:00
Tobias Koppers ec88b7eddc Merge tag 'v4.35.0' into next
4.35.0
2019-06-21 09:15:49 +02:00
Tobias Koppers 03c7f0c54a add test case 2019-06-13 14:04:31 +02:00
Tobias Koppers e9c0d068dd refactor filesystem interfaces
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Tobias Koppers c5f94f3b6a don't emit and load JS files for chunks without JS modules
allow custom module types in rules
allow configCases to access stats
2019-05-22 13:12:15 +02:00
Tobias Koppers b66143f706 Merge tag 'v4.30.0' into next
4.30.0
2019-05-09 21:34:28 +02:00
Tobias Koppers f7d0c2545f Improve way how System is tested 2019-04-10 13:48:47 +02:00
Tobias Koppers d34d69e62b Merge tag 'v4.29.5' into next
4.29.5
2019-02-19 08:58:46 +01:00
Tobias Koppers 180f912493 Merge tag 'v4.29.2' into next
4.29.2
2019-02-06 15:37:11 +01:00
Tobias Koppers 5fe66199c0 fix liniting 2019-02-05 10:00:33 +01:00
Tobias Koppers f446bf8a9b add ability to load dependent chunks for non-web targets
This allows to use `splitChunks` for initial chunks in i. e. node and webworker targets
2018-12-29 12:48:59 +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
Tobias Koppers a54645ab5b fix test cases 2018-11-29 16:24:00 +01:00
Philip Walton a2cc0313ab Add tests for default source map extensions 2018-09-05 18:41:39 -07:00
Tobias Koppers 01cfe5b67a improve way of adding exported tests to test tree 2018-08-02 14:45:50 +02:00
Tobias Koppers a4825654eb upgrade jest 2018-07-10 16:02:02 +02:00
Tobias Koppers 378f31b4f9 increase timeout for ConfigTestCases 2018-07-08 21:37:12 +02:00
Tobias Koppers 5c4ffd5b90 fix tests and code 2018-06-28 11:11:24 +02:00
Tobias Koppers db668b7549 move fake document to ConfigTestCases
minor style issues
add test case
2018-06-04 17:49:55 +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
Tobias Koppers 63a4145e3f clear output directory on test start 2018-05-17 17:42:00 +02:00
Florent Cailhol f63d6fa4bb Replace sinon by jest's mocks 2018-05-07 15:26:09 +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 18813fc16b tests: prepare the output directory before compiling 2018-04-19 12:54:24 +02:00
Bazyli Brzóska dc6d02cec1 add CI logging during compilation execution 2018-04-19 11:52:59 +02:00
Bazyli Brzóska 2be0965f96 Merge branch 'master' of https://github.com/webpack/webpack into jest
# Conflicts:
#	package.json
#	test/ConfigTestCases.test.js
#	yarn.lock
2018-04-18 19:54:24 +02:00
Tobias Koppers 57e09a67a1 add test for prefetch, preload and script loading jsonp runtime 2018-04-16 17:43:45 +02:00
Florent Cailhol e6562319fe Move prepareOptions to test helpers 2018-04-14 21:46:33 +02:00
Bazyli Brzóska 75253e7154 Merge branch 'master' of https://github.com/webpack/webpack into jest
# Conflicts:
#	.eslintrc.js
#	package.json
#	test/BenchmarkTestCases.benchmark.js
#	test/ConfigTestCases.test.js
#	test/NodeWatchFileSystem.unittest.js
#	test/TestCases.test.js
#	test/WatcherEvents.test.js
#	test/cases/parsing/extract-require/index.js
#	test/configCases/parsing/harmony-this/index.js
#	test/statsCases/async-commons-chunk/expected.txt
#	yarn.lock
2018-04-10 23:36:20 +02:00
Bazyli Brzóska aff29fe3ba run prettier across the codebase 2018-04-10 22:52:22 +02:00
Tobias Koppers 06e9a5709b get rid of webpackJsonp global leak 2018-03-24 12:08:37 +01: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
Josh Soref 581069bb56 spelling: uncaught 2018-02-26 02:50:05 +00:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Tobias Koppers f32bd41c52 fix linting 2018-02-25 02:15:37 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Bazyli Brzóska 47a16ebea6 split TestCases into mulitple files for better batching in jest 2018-02-25 01:16:11 +01:00