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
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
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
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
Ryan Drew
6e16e12007
remove update to 100 line length
...
This commit removes the update to 100 line length. It's bad
practice to introduce a behavior change like that.
2019-06-18 10:04:14 -04:00
Ryan Drew
054c933950
introduce name truncation config option for SplitChunksPlugin
2019-06-15 14:20:48 -04:00
Tobias Koppers
bba93d2a85
Merge pull request #9214 from jkzing/feat/suspend-watching
...
feat(watching): allow suspend/resume compilation
2019-06-13 17:57:10 +02:00
Tobias Koppers
681abf0830
Merge pull request #9225 from Bkucera/issue-9221
...
fix progress on line wrap (trim line to stderr.columns)
2019-06-13 17:49:22 +02:00
Tobias Koppers
03c7f0c54a
add test case
2019-06-13 14:04:31 +02:00
jkzing
460b099a63
test(watching): add integration test
2019-06-13 19:26:31 +08:00
jkzing
6c4a979093
test(watching): add tests
2019-06-13 19:18:01 +08:00
Tobias Koppers
06521142a3
Merge pull request #9268 from webpack/bugfix/let-scopes
...
handle block scopes correctly
2019-06-13 01:09:27 +02:00
Tobias Koppers
e04b1a52a0
handle block scopes correctly
...
fixes #9253
fixes #9183
2019-06-13 00:41:42 +02:00
alreadyExisted
df5e118da4
fix(mjs): remove unused namespace build errors
2019-06-12 14:46:39 +02:00
Felix Becker
74178d4d4b
Update snapshot
2019-06-12 10:31:33 +02:00
Tobias Koppers
fd4b3c503a
pretty files
2019-06-09 11:23:42 +02:00
Tobias Koppers
6f25c3bdbd
Merge pull request #9150 from cacheflow/show-loaders-used-when-module-parsing-fails
...
feat(NormalModule/ModuleParseError): Show loaders used from config when module parsing fails
2019-06-04 23:24:21 +02:00
Lex Alexander
2cd6489579
Added test to account for module parsing failure for binary files
2019-06-04 11:45:48 -07:00
Ben Kucera
7aefa64b0a
refactor test, evenly truncate details text, properly handle undefined stderr.columns
2019-06-04 12:33:55 -04:00
Tobias Koppers
aa78e27a44
fix splitting of windows newlines
...
move fixture
update snapshots
2019-06-04 14:48:46 +02:00
Tobias Koppers
96869d959e
Merge pull request #9191 from webpack/dependabot/npm_and_yarn/chrome-trace-event-1.0.2
...
chore(deps): bump chrome-trace-event from 1.0.0 to 1.0.2
2019-06-04 14:18:32 +02:00
Tobias Koppers
e90cf7c0c6
Merge pull request #9190 from webpack/dependabot/npm_and_yarn/terser-webpack-plugin-1.3.0
...
chore(deps): bump terser-webpack-plugin from 1.2.4 to 1.3.0
2019-06-04 14:18:05 +02:00
Tobias Koppers
96b97b559a
Downstream bug fixed and we can remove workaround
2019-06-04 12:09:09 +02:00
Tobias Koppers
31dae4ddf8
update snapshots
2019-06-04 11:51:23 +02:00
Ben Kucera
e7c2b7d813
fix progress on line wrap (trim line to stderr.columns)
2019-06-03 18:27:38 -04:00
Tobias Koppers
45582c51e7
avoid loading from rule set, simplify
2019-06-03 17:00:50 +02:00
Lex Alexander
1c6e7a9344
feat(NormalModule/ModuleParseError): Show loaders used from config when module parsing fails
...
-Closes #9025
2019-05-29 14:11:49 -07:00