Tobias Koppers
4e117781e8
improvements
...
add appendOnly flag
add custom console
add custom stream
2021-04-06 15:20:27 +02:00
Tobias Koppers
b6502d2983
improve test suite stablility
2021-03-08 09:13:41 +01:00
Tobias Koppers
e88c14836e
exclude ModuleProfile from snapshot as it's not deterministic
2021-02-03 09:58:17 +01:00
Tobias Koppers
8e0c511068
replace hash, version, time and builtAt with build summary at the bottom
2020-09-03 22:12:52 +02:00
Tobias Koppers
8497cd34c6
move start and endTime from Stats to Compilation
2020-09-03 22:01:25 +02:00
Tobias Koppers
b6c3cc5b42
update stats test cases
...
fix node 14 warnings
2020-04-30 23:18:47 +02:00
Varun Varada
a3b493a365
Fix measurement formatting as per SI rules
...
According to the SI, there should be a space between a measurement
quantity and its unit symbol, so this commit fixes this issue
throughout Webpack.
2020-04-07 17:27:45 -05:00
Mohsen Azimi
7b07a8db66
Upgrade to Prettier 2
2020-03-28 18:20:24 -04:00
Tobias Koppers
6477ca56f8
Split options defaulting in normalization and defaults
...
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +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
b90f3e14a1
upgrade webpack-sources
...
make source maps and source names context independent
add enhanced-resolve declarations
add types to Module.build
fix tooling for import order to support import renaming
add support for concatenated modules in eval source maps
2019-11-12 08:59:08 +01:00
Tobias Koppers
5261758bed
update test cases and snapshots
2019-11-04 21:11:16 +01:00
Tobias Koppers
65bdb43180
fix badly chosen max fill rate for deterministic
...
sort modules by identifier in output file, that's better for gzip
2019-10-16 16:38:04 +02:00
Tobias Koppers
69a545c444
Deprecate MainTemplate, ChunkTemplate, ModuleTemplate
...
move logic and hooks to JavascriptModulesPlugin
2019-10-08 23:46:26 +02: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
0b0e9e9608
fix Progress and Stats Tests for colors and output
2019-08-01 14:04:24 +02:00
Tobias Koppers
4c472adbf1
capture infrastructure log
2019-08-01 14:04:20 +02:00
Tobias Koppers
c17dfde7a8
Merge tag 'v4.37.0' into next
...
4.37.0
2019-07-24 10:51:04 +02:00
Tobias Koppers
d849160d3f
add logging API
...
Plugins:
Compiler.getInfrastructureLogger(name)
Compilation.getLogger(name)
Loader:
this.getLogger([name])
API equal to console API with these methods:
error, warn, info, log, debug,
time, timeLog, timeEnd,
group, groupCollapsed, groupEnd,
profile, profileEnd,
clear
2019-07-18 17:13:40 +02:00
Tobias Koppers
cd879ef9af
fix different stats snapshots on node versions
2019-07-17 11:57:18 +02:00
Tobias Koppers
31ea2c7212
improve performance of date time formating
...
improve tests for timings
2019-07-15 16:31:59 +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
b66143f706
Merge tag 'v4.30.0' into next
...
4.30.0
2019-05-09 21:34:28 +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
ef9e25d8ea
report dependencies from resolver to the compilation
...
refactor NormalModuleFactory
2019-01-08 15:14:25 +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
a68426e925
Add error message
2018-12-07 08:58:55 +01:00
Tobias Koppers
2b68e46906
show all sizes in stats
2018-12-05 20:19:02 +01:00
Tobias Koppers
ad308f9d5a
increase timeout for StatsTestCases
2018-10-29 22:57:34 +01:00
Tobias Koppers
b20556c1ff
move profile to ModuleGraph
2018-08-22 14:54:28 +02:00
Florent Cailhol
7b02084bc5
Replace Basic and Advanced optimzation hooks by stages
2018-08-16 14:10:51 +02:00
Tobias Koppers
6d5310fbd6
allow multiple entryModules per chunk
...
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers
86ff1a4642
Merge tag 'v4.16.1' into next
...
4.16.1
2018-07-16 10:30:31 +02:00
Tobias Koppers
753dcce188
fix order of occurrence order plugin
...
remove enforced additional occurrence order plugin from test cases
make test cases more independent of module/chunk order/ids
2018-07-13 16:15:01 +02:00
Tobias Koppers
95ff4e96f7
remove loader options plugin from test cases
2018-07-11 13:08:19 +02:00
Tobias Koppers
5b30edebfc
allow filtering of tests in statsCases
2018-07-02 17:44:47 +02:00
Tobias Koppers
2d279fcfbe
Use jest snapshot testing
2018-05-01 16:09:50 +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
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
Leon Weidauer
152575c2b0
Fix Stats and BinTestCases after adding "Built at"
...
In order to pass the tests, a similar
test replacement as with the millisecond values
needs to happen.
For the "Built at" stat all dates are replaces with
Thu Jan 01 1970 00:00:00 GMT.
Related to issue #5305
add semicolon
2018-01-29 19:51:49 -08:00
Leon Weidauer
09f959c684
Fix Stats and BinTestCases after adding "Built at"
...
In order to pass the tests, a similar
test replacement as with the millisecond values
needs to happen.
For the "Built at" stat all dates are replaces with
Thu Jan 01 1970 00:00:00 GMT.
Related to issue #5305
2018-01-29 14:59:13 -08:00
Florent Cailhol
cd419d0546
Migrate integration tests to Jest
2018-01-24 17:29:57 +01:00
Tobias Koppers
45f8a28b44
Merge branch 'master' into next
...
# Conflicts:
# lib/JsonpMainTemplatePlugin.js
# lib/NoEmitOnErrorsPlugin.js
2018-01-04 20:59:34 +01:00
Mike Greiling
71efc0db63
update NoEmitOnErrorsPlugin to recognize child compilation errors, add tests
2017-12-28 03:41:42 -06:00
Florent Cailhol
7dd41b55c6
Replace deprecated Tapable#apply by Plugin#apply
2017-12-20 11:53:56 +01:00
Tobias Koppers
2148f556a4
Enable minimizing in production mode
2017-12-14 00:06:56 +01:00