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

1.0.3 • Public • Published

Vite Plugin Eruda Local

帮助你在开发环境自动打开 eruda 调试工具的vite插件,eruda从本地加载,不影响刷新后页面加载速度。

Install

$ npm i -D vite-plugin-eruda-local eruda

Usage

import eruda from 'vite-plugin-eruda-local'


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

Options

entry 入口文件

  • 类型: string | undefind

  • 默认值: 'undefind'

    可选属性,如果不填写,则通过正则/src\/main\.(js|jsx|ts|tsx)$/进行匹配,填写后通过 endsWith进行匹配。

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i vite-plugin-eruda-local

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

3.13 kB

Total Files

5

Last publish

Collaborators

  • thesadboy