Closed alanyinjs closed 5 years ago
@alanyinjs Thanks for PR, need accept CLA
Also please use commit message not more 72 characters :+1:
@evilebottnawi sorry for the delay. should be good to look at now 😄
Not a problem at all :smile: Thanks for reviewing my PR
This PR contains a:
Motivation / Use-Case
Ref: issue #314
This PR aims to update the doc to reflect use of
Rule.loader
andRule.use
in the case of using single (rather than multiple) loaders. This being said, Webpack official docs only deprecated the use ofRule.loaders
rather thanRule.loader
. In particular, it pointed out thatRule.loader
can be used as a shortcut toRule.use: [ { loader } ]
(as seen in the following screenshot):However most loaders have updated their docs to consistently use
Rule.use
rather thanRule.loader
even in the case of using a single loader: https://webpack.js.org/loaders/babel-loader/ https://webpack.js.org/loaders/babel-loader/Breaking Changes
No breaking changes
Additional Info
N/A fixes #314