feat: support retaining the specified console by configuring externalValue without remove it, for example like this: removeConsole({ externalValue: ["这个不删", "noRemove", ...] })
v2.0.0
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
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 }
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps vite-plugin-remove-console from 1.1.0 to 2.1.1.
Release notes
Sourced from vite-plugin-remove-console's releases.
Changelog
Sourced from vite-plugin-remove-console's changelog.
Commits
0b8a7d9
chore: updateCHANGELOG
7a95159
2.1.188dd0da
perf: types33d24e5
docs: updateREADME
11ce364
chore: update playgroundsf504056
feat: add nuxt3 demo in playgrounds4517d5e
chore: updateREADME.md
9666306
chore: updateCHANGELOG
e12b5cc
2.1.05d6ca9e
chore: updateplaygrounds
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)