Skip to content

Commit d8a1c24

Browse files
committed
4.2.1
1 parent 950c715 commit d8a1c24

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
This 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 } [email protected]
12+
// {skipWarn: 'true'} [email protected], 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 [`[email protected]`](https://github.com/webpack/loader-utils/releases/tag/v3.0.0)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)