vite-plugin-eruda-plus
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Vite Plugin Eruda

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

Modified from https://www.npmjs.com/package/vite-plugin-eruda

Install

$ npm i --save-dev vite-plugin-eruda-plus

Usage

import eruda from 'vite-plugin-eruda-plus'


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

Options

debug

  • Type: boolean | undefind
  • Default: 'undefind'

eruda_src

  • Type: string

  • Default: 'https://unpkg.com/eruda@2.4.1/eruda.js'

    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

Package Sidebar

Install

npm i vite-plugin-eruda-plus

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

4.69 kB

Total Files

6

Last publish

Collaborators

  • hfxlyf