-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCHANGELOG.md
38 lines (20 loc) · 1.15 KB
/
CHANGELOG.md
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Changelog
## 2.2.0 (2023-12-04)
- feat: add `custom` api, Completely customize the statements that need to be removed, which will overwrite `includes`, for example like this: `removeConsole({ custom: ["console.log()", "console.warn()", "debugger", ...] })`
## 2.1.1 (2023-04-26)
- feat: add `nuxt3` demo in playgrounds
- perf: types
## 2.1.0 (2023-02-28)
- feat: support retaining the specified console by configuring `externalValue` without remove it, for example like this: `removeConsole({ externalValue: ["这个不删", "noRemove", ...] })`
## 2.0.0 (2023-02-14)
- feat: supports passing `includes` to specify the type of `console` that needs to be removed, for example like this: `removeConsole({ includes: ["log", "warn", "error", "info", ...] })`, If `includes` is not passed, `console.log` will be removed by default
## 1.3.0 (2022-11-10)
- compatible with `esm` and `cjs`
## 1.2.0 (2022-11-08)
- fix: build error `export { removeConsole as default }`
## 1.1.0 (2022-07-18)
- feat: support `sourcemap`
## 1.0.4 (2022-07-05)
- fix: path translation problem of `external` parameter value in windows platform
## 1.0.0 (2022-06-16)
- release(1.0.0)