Commit Graph

24 Commits

Author SHA1 Message Date
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
EugeneHlushko 2aab060f26 Refactor: indexOf >< checks to includes 2018-01-11 18:58:39 +02:00
Tobias Koppers 875074ab36
Merge pull request #5936 from webpack/refactor/code-style
Update code style to arrow functions
2017-11-08 21:26:37 +01:00
Tobias Koppers 75f68a2635 fixes linting, remove not needed context arguments 2017-11-08 20:49:41 +01:00
Tobias Koppers 594f639282 allow to pass functions to rules.use and return arrays 2017-11-08 19:34:05 +01:00
Tobias Koppers f7c2f8e470 Update code style to arrow functions 2017-11-08 11:56:01 +01:00
Andrei Pfeiffer 3b3449c2e8 Refactor: use const for non reassignable identifier 2017-06-16 12:27:44 +03:00
Tobias Koppers fbf84d51f2 allow to apply plugins to child compiler
allow to match on compiler name in rules

#4177
2017-02-22 11:49:49 +01:00
Tushar Sonawane 220eed8eb5 review changes 2017-02-16 16:07:26 +05:30
Tushar Sonawane 35524e6059 migrate RuleSet to es6 2017-02-16 00:49:57 +05:30
Tobias Koppers 4cae3f4987 generate loader ident automatically
pass ident outside of option object

commit based on work from @timse #4073
2017-01-26 01:27:00 +01:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Tobias Koppers 8bc25f65e6 add error for #3556, add recommendations for errors (#3563) 2016-12-23 12:25:39 -06:00
Sean Larkin 04bf19a060 cache normalizeUseFn 2016-12-23 02:57:42 -06:00
Sean Larkin 1c8c5b993a fix(RuleSet): allow array of functions returning either string or loader objects 2016-12-22 12:14:54 -06:00
Tobias Koppers f4adee3e9d Merge pull request #3360 from webpack/bugfix/loader-options-remaining-request
fixes a bug in which complex options are not passed through chain
2016-11-23 22:28:45 +01:00
Tobias Koppers efa3fc058b added resourceQuery condition
added function use to schema
2016-11-23 12:12:32 +01:00
Tobias Koppers 5f9dd3c219 fixes a bug in which complex options are not passed through chain 2016-11-23 12:11:07 +01:00
Tushar Sonawane eeaa45f362 fixed 'beautify-lint' errors in 'lib/RuleSet.js' 2016-10-29 01:06:46 +05:30
Giuseppe Piscopo f2c0e59e06 feat(ruleSet): extend error context to resource and issuer 2016-10-23 01:46:15 +02:00
Giuseppe Piscopo 6dd2863899 feat(ruleSet): show context when exclude holds `undefined` 2016-10-22 20:20:22 +02:00
Tobias Koppers 61972f42f9 fixed bugs in RuleSet, added tests 2016-09-15 08:39:53 +02:00
Tobias Koppers 78a2f699e2 beautify 2016-09-15 00:50:07 +02:00
Tobias Koppers a53799c0ac use new RuleSet matching instead of LoadersList
pass issuer via contextInfo
2016-09-15 00:22:10 +02:00