Socket
Book a DemoInstallSign in
Socket

vite-plugin-print-info

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-print-info

print some help info like vite builtin

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

vite-plugin-print-info

npm downloads Unit Test

print some help info like vite builtin.

effect

Installation

npm i -D vite-plugin-print-info

Usage

// vite.config.ts
import vitePluginPrintInfo from 'vite-plugin-print-info';

export default defineConfig({
  plugins: [
    vitePluginPrintInfo({
      infoList: [
        {
          name: 'APP_ENV',
          message: APP_ENV,
          messageStyle: {
            color: 'yellow',
            bold: true,
          },
        },
        {
          name: 'Recommend',
          message: 'https://abc.com/test-page?debug=1',
        },
      ],
    }),
  ],
});

License

MIT License © 2023-PRESENT YuTengjing

Keywords

vite

FAQs

Package last updated on 30 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts