Tobias Koppers
530e1fb172
Add matchResource feature (for loaders)
...
Match rules with custom resource name
Also use this name as rule.issuer or splitChunks test
Show nicely in stats
2018-06-01 15:37:17 +02:00
Florent Cailhol
f63d6fa4bb
Replace sinon by jest's mocks
2018-05-07 15:26:09 +02:00
Tobias Koppers
214801493e
improve NormalModule performance
...
cache source and meta hash
2018-05-02 14:20:30 +02: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
Florent Cailhol
2f4910b4c3
Migrate unit tests to Jest
2018-01-24 17:29:57 +01:00
Tobias Koppers
5c63d3cb43
move source generation into separate module
...
allow to pass a Generator to NormalModule
change NormalModule constructor to options object
🍆
2018-01-24 11:33:38 +01:00
Evan Scott
1f29fa9b51
perf: refactor various timestamp caches into ES6 Maps
...
This change satisfies https://github.com/webpack/webpack/issues/6234
which desires to change the timestamp caches from plain objects to
the ES6 Map type to avoid deopts, since v8 expects things to be
added to Maps but objects are only fast if properties aren't added
dynamically after initial assignment.
2018-01-23 02:30:22 -05:00
Tobias Koppers
90c5adef14
linting, unittests
2017-12-12 21:21:02 +01:00
Tobias Koppers
00f2b5ede7
advanced module type refactoring
...
added json type
.mjs default to javascript/esm type
adjusted parser plugins to react on module type
2017-11-11 19:27:19 +01:00
Tobias Koppers
944fa78369
fix bad unittest
2017-11-06 16:46:29 +01:00
Tobias Koppers
0c104a683f
separate integration and unit tests, use codecov flags
2017-10-19 17:35:20 +02:00