1.1.0 • Published 3 years ago

vite-plugin-msg-log v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

vite-plugin-msg-log

log your current env

example

  1. U can provide some config to logEnvPlugin,
  • envKey: the key of env which mount on the process.env object

  • strGetter: a function to gen a str

import { logEnvPlugin } from 'vite-plugin-msg-log';

export default defineConfig({
  // ...
  plugins: [
    // logEnvPlugin({
    //   envKey: 'ENV'
    // }),
    logEnvPlugin({
      strGetter: () => {
        return 'show msg after web request!'
      }
    }),
  ]
  // ...
})
1.1.0

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago