Skip to content

elonehoo/vite-plugin-terminal-log

Repository files navigation

vite-plugin-terminal-log

When it is convenient for development, the front-end routine log can be printed to the terminal output panel

Install

# npm
npm i vite-plugin-terminal-log -D
# yarn
yarn add vite-plugin-terminal-log -D
# pnpm
pnpm add vite-plugin-terminal-log -D

Usage

Add it to vite.config.js

import { defineConfig } from 'vite'
import TerminalLog from 'vite-plugin-terminal-log'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    TerminalLog(),
  ],
})

Credits

Thanks to:

License

MIT License © 2023 Elone Hoo

About

When it is convenient for development, the front-end routine log can be printed to the terminal output panel.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published