Commit Graph

45 Commits

Author SHA1 Message Date
Ivan Kopeykin 2ec870f139 add test case 2022-02-10 13:39:03 +03:00
Tobias Koppers 110e8044dc add test case 2021-12-03 08:47:06 +01:00
Tobias Koppers c69e37c39d fix outputModule with initial splitChunks 2021-11-25 16:05:03 +01:00
Tobias Koppers 041287ff58 fix test problem 2021-11-25 15:52:07 +01:00
Tobias Koppers d91248711b fix and test module federation with ESM 2021-11-25 12:09:03 +01:00
Tobias Koppers cae22d1888 fallback to normal snapshotting when managed path optimization fails 2021-11-15 17:08:48 +01:00
Tobias Koppers 4e8a621bfa fix null module externals 2021-09-03 13:47:09 +02:00
Tobias Koppers c23e8ce5c7 fix problems with compiling twice
better handle test errors
2021-07-22 11:11:18 +02:00
Tobias Koppers cdc9efefbe avoid copying source types and sizes cache from unsafe cache to cached module
fixes #13827

avoid pre-computing source types and sizes on cleanup for not-built modules (e. g. from unsafe cache)
improve eror message when asset rendering fails
2021-07-22 09:52:56 +02:00
Tobias Koppers b29c44e223 add separate webpack warmup step with large timeout 2021-07-15 16:37:54 +02:00
Tobias Koppers cdeded54c7 report errors/warnings during compilation for caching 2021-07-12 17:02:33 +02:00
Tobias Koppers e92f9d88d7 increase test timeout 2021-07-12 12:47:37 +02:00
Tobias Koppers 8a1dca971b Merge branch 'main' into dependabot/npm_and_yarn/jest-27.0.4 2021-07-08 15:38:39 +02:00
Tobias Koppers 4e9bcd10a6 make test cases to complete within tests 2021-07-08 12:19:12 +02:00
Tobias Koppers 8e2426e7b4 cleanup more test suite context variables 2021-07-08 12:19:12 +02:00
Tobias Koppers e14197ddd9 avoid importing large package on top-level in test suite 2021-07-07 18:46:39 +02:00
Tobias Koppers 7e6cb9d35a cleanup globals in config test cases 2021-07-07 10:03:22 +02:00
Tobias Koppers 3f7d80d823 fix concatenation of module externals
#2933
2021-07-06 14:07:45 +02:00
Tobias Koppers 6dbfb93f8a Merge branch 'master' into dependabot/npm_and_yarn/jest-27.0.4 2021-06-28 11:38:29 +02:00
Tobias Koppers 18e93eb10e
Merge pull request #13647 from webpack/perf/memory-improvements
improve disposing of lazy compilation backend server
2021-06-28 11:35:23 +02:00
Tobias Koppers c50b2ad16c get all promises when using multiple test files 2021-06-28 09:51:02 +02:00
Tobias Koppers d7b23ca526 increase timeout 2021-06-25 18:11:43 +02:00
Tobias Koppers a53578be7e implement synthetic modules for node 10 2021-06-25 10:37:35 +02:00
Tobias Koppers 629f9f031c add support for module externals and automatic externals 2021-06-24 16:44:14 +02:00
Tobias Koppers 15408018cb partially fix test cases 2021-06-24 10:05:37 +02:00
Tobias Koppers 4da99d8254 add `module` library support, test and example
add test cases for `experiments.outputModule`
2021-06-23 14:49:14 +02:00
Tobias Koppers b0b3cd209d get all promises when using multiple test files 2021-06-22 09:39:17 +02:00
Tobias Koppers 9d123b1b53 fix createLazyTestEnv for new jest major version 2021-06-22 09:39:17 +02:00
Tobias Koppers 2b210f98fa add test case 2021-06-18 11:10:56 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 4e117781e8 improvements
add appendOnly flag
add custom console
add custom stream
2021-04-06 15:20:27 +02:00
Anshuman Verma eb63cb78b6 fix: prefix public path in importScripts 2021-03-15 16:08:59 +01:00
Tobias Koppers 1a584d3148 ensure all successful compiled modules are persistent cached
fix some test cases and code to ensure this is true
2021-02-23 15:36:53 +01:00
Tobias Koppers e9183f9810 only return result of startup when needed
fixes #12244
2021-01-18 19:21:12 +01:00
Tobias Koppers 38c7cf2d85 fix caching crash in ConcatenatedModule
Ensure that no warnings/errors occur during testing
add serialization for some missing warnings
2021-01-08 15:44:26 +01:00
Tobias Koppers d46f945572 fix problem when HMR and different runtimes
allow HMR to work in WebWorkers too
2020-11-28 13:53:32 +01:00
Ivan Kopeykin 49009486df support undo path 2020-09-16 23:20:44 +03:00
Tobias Koppers ed06a7f83a new Worker() support
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers 312e2ab587 Merge branch 'master' into feature/asset-url 2020-08-28 20:54:50 +02:00
Tobias Koppers 30856a6750 add test case 2020-08-28 10:59:39 +02:00
Tobias Koppers d6e637f33c add "snapshot" configuration to allow to configure how snapshots are created
expose snapshot options for module, resolve, buildDependencies and resolveBuildDependencies
move managedPaths and immutablePaths from config.cache to config.snapshot
add timestamp + hash snapshotting mode
use timestamp + hash mode by default in production and for buildDependencies
2020-08-26 01:27:13 +02:00
Tobias Koppers b929d4cdce calculate real content hash for assets after asset processing 2020-08-18 22:07:24 +02:00
Ivan Kopeykin 99b0f5c50a fix tests 2020-08-06 21:31:08 +03:00
Tobias Koppers aa210c4aed test all configCases with persistent cache 2020-06-02 12:53:20 +02:00
Tobias Koppers 659e8ab358 make ConfigTestCases templated to allow extending 2020-06-02 12:30:39 +02:00