szq233 / vite-plugin-eruda

A vite plugin help you automatically open debugging tools in the development environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vite Plugin Eruda

A vite plugin help you automatically open debugging tools in the development environment

Install

$ yarn add vite-plugin-eruda

Usage

import eruda from 'vite-plugin-eruda'


module.exports = {
  plugins: [
    // others
    eruda()
  ]
}

Options

debug

  • Type: boolean | undefind

  • Default: 'undefind'

    Optional. If not, process.env.node will be used by default process.env.NODE_ENV !== "production" standard opens the debugging mode. If there is, this parameter takes precedence.

License

MIT

About

A vite plugin help you automatically open debugging tools in the development environment

License:MIT License


Languages

Language:TypeScript 100.0%