Commit Graph

41 Commits

Author SHA1 Message Date
Tobias Koppers 7b31890a2f more tests
add none as loglevel
2019-07-22 10:35:26 +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 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
ikopeykin bd7d95bfc1 #9391 resolve discussions, AbstractMethodError 2019-07-15 16:54:49 +03:00
Tobias Koppers 98c5f45ea8 hotfix: realResource should match absolute paths 2019-07-01 11:18:09 +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
ikopeykin 68f794dbcb updated snapshots, rerun tooling scripts 2019-06-25 15:33:07 +03:00
ikopeykin b3202696d0 add realResource parameter to RuleSetRule 2019-06-25 11:31:44 +03:00
Ryan Drew 054c933950 introduce name truncation config option for SplitChunksPlugin 2019-06-15 14:20:48 -04:00
OJ Kwon 2ec75c1cdb
feat(target): support electron preload async chunk loading 2019-05-25 18:02:00 -07:00
Tobias Koppers a4406ff187 improve validation errors 2019-05-22 13:46:07 +02:00
Tobias Koppers 7c5f3e758c
Merge pull request #9091 from EugeneHlushko/fix/grammar
fix(typo) remove redundant is
2019-05-09 21:57:36 +02:00
Tobias Koppers b17543e0ba
Merge pull request #8919 from vincentrodriguez/errors-and-warnings-only-preset
Preset option for errors & warnings only
2019-05-09 09:52:41 +02:00
EugeneHlushko f9e877f9c1 fix(typo) remove redundant is 2019-05-04 17:46:38 +03:00
vincentrodriguez 111e864393 support for "errors-warnings" stats preset 2019-03-19 11:24:34 +00:00
vincentrodriguez 579d42b650 update to support "errors-warnings" stats preset option 2019-03-19 10:49:55 +00:00
Joel Denning 97d58d31c0 Adding support for output libraryTarget 'system'. Resolves #8833.
Tests, prettier

Self review

Add comments to System tests.

Adding typescript definition

Guy Bedford's feedback

Self review

Improving code coverage
2019-03-17 08:46:17 -07:00
Tim Neutkens 0c1beb99a8 Run lint 2019-03-11 17:43:25 +01:00
Tim Neutkens 001960600d Run yarn fix 2019-03-10 17:13:53 +01:00
Tim Neutkens d02817619f Allow options.amd to disable AMDPlugin/RequireJsStuffPlugin
Introduces a new value `false` for `options.amd` that disables AMD support completely.

This would mainly be useful in for example ncc, Next.js etc where it’s either fully commonjs/esmodules (ncc) or fully esmodules (Next.js)
2019-03-10 16:31:35 +01:00
Tobias Koppers b25ff237bb Prettify source code 2019-02-05 10:08:45 +01:00
Tobias Koppers aaf85dbd1c add output.futureEmitAssets
add a new version of emitting assets which allows to free memory of Sources with the trade-off of disallowing reading asset content after emitting

It also uses Source.buffer when available.
2019-01-17 13:33:27 +01:00
Ilya Kantor a9d465f183 IgnorePlugin: add context argument to checkResource, deprecate checkContext 2018-12-18 11:27:06 +03:00
shaw 70b9a1b0b7 fix parameter missing when plugin type is a funtion 2018-11-26 22:37:08 +08:00
Tobias Koppers 0293c3a5ee
Merge pull request #8279 from smelukov/support-entry-progress
ProgressPlugin: support progress by entry points
2018-11-05 08:55:30 +01:00
Tobias Koppers 64e3826067 use flags to show different parts of the progress message
refactor activeModules to Set for performance reasons
2018-11-04 10:33:14 +01:00
Sergey Melyukov aa8cb0fab7 ProgressPlugin: refactoring 2018-10-29 15:49:31 +03:00
Naveen Marella 18ef678561 Fixed liniting issue in DllPlugin ts file. 2018-10-03 10:12:05 -06:00
Naveen Marella 71f9230383 Adding format option for Dll Plugin to get a formatted manifest json. 2018-10-03 09:48:29 -06:00
Eemeli Aro b624d167a5 Add "amd-require" libraryTarget, resulting in a require() wrapper 2018-09-26 21:46:16 +03:00
Tobias Koppers c7681825f8 fix issues with absolutePath, allOf and anyOf
make DllReferencePlugin schema more expressive
typing fixes
2018-09-21 11:04:36 +02:00
Tobias Koppers 8c31f2a708 fixes for RegExp in schema 2018-09-21 11:04:33 +02:00
Tobias Koppers a91f7366dc fix plugin schemas and give them names 2018-09-21 11:04:26 +02:00
Tobias Koppers b6e81cd00e improve schema 2018-09-21 11:04:17 +02:00
Tobias Koppers 49a271d9a8 fixup: output options 2018-09-21 11:04:15 +02:00
Tobias Koppers 3a896c96b6 reorganize webpack options schema 2018-09-21 11:04:12 +02:00
Tobias Koppers 64b27537da improve schema to be able to use it 2018-09-21 11:04:10 +02:00
Tobias Koppers 20d9cca01f add tooling to sort schema properties 2018-09-21 11:04:07 +02:00
Tobias Koppers c14c73e034 update script to
* handle recursive folders
* create nested folders
* have a linting mode
* have better banner
2018-09-21 11:04:00 +02:00
Sean Larkin 22be95d7bf add all declarations files and folder 2018-09-21 11:03:58 +02:00