File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 22
33This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## 4.2.1
6+
7+ - Fix passing loader options when using ` this.getOptions() ` from webpack 5.x.x
8+
9+ ``` tsx
10+ import " clean-css-loader?skipWarn=true!./style.css" ;
11+ // {skipWarn: true } loader-utils@2.x.x
12+ // {skipWarn: 'true'} webpack@5.x.x, unexpected behavior :(
13+ ```
14+
15+ > ` loader-utils ` has specific behavior for parsing query strings (` true ` , ` false ` and ` null ` won't be parsed as string but as a primitive value)
16+
517## 4.2.0
618
719- Add support [ ` loader-utils@3.x.x ` ] ( https://github.com/webpack/loader-utils/releases/tag/v3.0.0 )
Original file line number Diff line number Diff line change 11{
22 "name" : " clean-css-loader" ,
3- "version" : " 4.2.0 " ,
3+ "version" : " 4.2.1 " ,
44 "main" : " lib/index.js" ,
55 "types" : " lib/index.d.ts" ,
66 "dependencies" : {
You can’t perform that action at this time.
0 commit comments