Commit Graph

2518 Commits

Author SHA1 Message Date
Tobias Koppers 8006117bae make status logging 1 char shorter 2019-08-02 09:45:26 +02:00
Tobias Koppers 7cfe0e6a41 fix 100% progress output 2019-08-02 08:48:28 +02:00
Tobias Koppers 40755384bf
Merge pull request #9506 from webpack/logging/status
Improve infrastructure logging
2019-08-01 16:45:48 +02:00
Tobias Koppers 1963e4018f improve tests for different infrastructure logging levels 2019-08-01 16:26:54 +02:00
Tobias Koppers 0b0e9e9608 fix Progress and Stats Tests for colors and output 2019-08-01 14:04:24 +02:00
Tobias Koppers b89853ea12 fix Compiler logging test 2019-08-01 14:04:22 +02:00
Tobias Koppers 4c472adbf1 capture infrastructure log 2019-08-01 14:04:20 +02:00
Tobias Koppers 56e12fd620 extract LogTestPlugin 2019-08-01 13:51:22 +02:00
Tobias Koppers 8f0a443e6c Colored console for node environment
Status report in logger
ProgressPlugins uses logger
2019-08-01 13:51:18 +02:00
Tobias Koppers 53a7a342c5 add test cases 2019-08-01 13:50:15 +02:00
Tobias Koppers 94bcce0b24 fix code and snapshots 2019-08-01 12:21:01 +02:00
James George a302cfa8d0 Minor fix 2019-08-01 12:20:57 +02:00
jamesgeorge007 f9377906ea ease of access for contents of emitted assets 2019-08-01 12:20:55 +02:00
Tobias Koppers ba20513223
Merge pull request #9493 from Lyrkan/9491-fix-entrypoint-names
Fix JSONP main template to allow currently forbidden chunk IDs (#9491)
2019-08-01 12:07:50 +02:00
Tobias Koppers f469ba5987 update snapshots 2019-07-31 21:16:37 +02:00
agaricus 29622fcb0d a test for resolve system module with evaluation name 2019-07-31 11:27:44 +03:00
Lyrkan 6b6342e94b Fix JSONP main template to allow currently forbidden chunk IDs (#9491) 2019-07-31 00:22:21 +02:00
Tobias Koppers e04d4327f4
Merge pull request #9454 from ijjk/escape-path-variables
Escape path variables in replaced values for TemplatedPathPlugin
2019-07-27 15:47:43 +02:00
Tobias Koppers edc12528fd
Merge pull request #9431 from mikispag/patch-1
Prefer the IDL 'nonce' property over .getAttribute('nonce')
2019-07-26 16:32:47 +02:00
Tobias Koppers 4d8a1003cd avoid writing to stderr while testing 2019-07-26 13:16:25 +02:00
Tobias Koppers 9b2b1b4bf7 fix deprecation messages in test 2019-07-26 13:16:21 +02:00
Tobias Koppers 81017d583a update stats snapshot because of additional logging 2019-07-26 08:13:52 +02:00
JJ Kasper b7a7c9de29
Merge remote-tracking branch 'upstream/master' into escape-path-variables 2019-07-23 10:37:41 -05:00
JJ Kasper d8754873f6
Apply suggestions from code review
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2019-07-23 10:37:07 -05:00
Tobias Koppers 2fb853ee03
Merge pull request #9436 from webpack/feature/logging
add logging API
2019-07-23 10:58:02 +02:00
wangyafei07 9d381f21e6 HookMap: replace .tap() with .for().tap() 2019-07-23 15:35:25 +08:00
Tobias Koppers 677ccd90ea small fixes 2019-07-23 09:28:06 +02:00
JJ Kasper 362e5d37d6
Escape path variables in replaced values 2019-07-22 17:33:39 -05:00
Tobias Koppers 7b31890a2f more tests
add none as loglevel
2019-07-22 10:35:26 +02:00
Tobias Koppers 85263af902 update snapshot 2019-07-22 09:44:20 +02:00
Tobias Koppers b6138c18a1 add infrastructure test 2019-07-22 09:22:51 +02:00
Tobias Koppers d532c4f24f allow to configure the infrastructure logger
rename includeDebugLogging to loggingDebug
rename logToConsole to createConsoleLogger
2019-07-22 09:22:36 +02:00
Tobias Koppers c547dd5615 fix unit test 2019-07-19 18:20:34 +02:00
Tobias Koppers c24d5601dc enable info log level by default 2019-07-19 18:19:04 +02:00
Tobias Koppers 42a9bfd225 improve logging options and display
allow more logging options in schema
collapse groups in non-verbose logging
show number of filtered logging lines
update stats presets for logging
2019-07-19 11:59:48 +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
Michele Spagnuolo c5d6345d90
Prefer the IDL 'nonce' property over .getAttribute('nonce')
Prefer the IDL 'nonce' property over .getAttribute('nonce'), which does not work due to https://bugs.chromium.org/p/chromium/issues/detail?id=680419 and https://codereview.chromium.org/2628733005/.
2019-07-18 11:02:39 +02:00
Tobias Koppers b3ec775453 improve merging of resolve and parsing options
by rules and via loader API

Arrays overwrite by default, but can reference old value with "..."
2019-07-17 13:08:51 +02:00
Tobias Koppers 0beeb7e30a
Merge pull request #9391 from vankop/create-hash-typescript
esdoc(createHash)
2019-07-15 17:26:21 +02:00
ikopeykin bf1a24a9ab #9391 resolve super call discussion 2019-07-15 17:27:59 +03:00
ikopeykin bd7d95bfc1 #9391 resolve discussions, AbstractMethodError 2019-07-15 16:54:49 +03:00
Tobias Koppers cf20194d00
Merge pull request #9166 from shawtung/feature/source-map-dev-tool-plugin_file-placeholder
Add [file] placeholder for sourceMappingURL in SourceMapDevToolPlugin
2019-07-10 14:37:34 +02:00
Daan Roet b56c3ecf1c feat: update acorn for dynamic import 2019-07-05 13:24:39 +02:00
shawtung 1f22f358fa Add [file] placeholder for sourceMappingURL 2019-07-04 11:38:40 +08:00
Tobias Koppers 5c7996d336
Merge pull request #9328 from jchapman127/bugfix/match-resource
[WIP] Fixes #9053: Wrong loaders order when using inline match resource
2019-07-01 09:57:45 +02:00
Tobias Koppers 61d508e9f2 improve test cases for more edge cases 2019-07-01 09:36:20 +02:00
Tobias Koppers 5523a0a9ac
Merge pull request #9326 from vankop/add-real-resource-parameter
add realResource parameter to RuleSetRule
2019-06-30 22:04:39 +02:00
James Chapman a435c74a00 add test case for #9053 2019-06-25 19:02:41 +01:00
ikopeykin 68f794dbcb updated snapshots, rerun tooling scripts 2019-06-25 15:33:07 +03:00
Tobias Koppers 226e8ce8fd add test case for holey array 2019-06-19 18:55:27 +02:00