/vite-plugin-eruda

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

Primary LanguageTypeScriptMIT LicenseMIT

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