vite-plugin-remove-console
Advanced tools
Changelog
2.2.0 (2023-12-04)
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", ...] })
Changelog
2.1.1 (2023-04-26)
nuxt3
demo in playgroundsChangelog
2.1.0 (2023-02-28)
externalValue
without remove it, for example like this: removeConsole({ externalValue: ["这个不删", "noRemove", ...] })
Changelog
2.0.0 (2023-02-14)
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 defaultChangelog
1.2.0 (2022-11-08)
export { removeConsole as default }
Changelog
1.0.4 (2022-07-05)
external
parameter value in windows platform