// npm
npm i babel-plugin-improved-console
// yarn
yarn add babel-plugin-improved-console
// pnpm
pnpm i babel-plugin-improved-console
// babel.config.js
module.exports = {
plugins: [
// ...plugins
[
'improved-console',
// tip 默认是 ↓======↓
{
tip: '↓======↓',
},
],
],
}
pnpm add @babel/[email protected] @babel/[email protected]
pnpm add -D @babel/[email protected] @babel/[email protected] @babel/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] @types/[email protected] [email protected]