@xiaohuohumax/vite-plugin-bookmarklet
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@xiaohuohumax/vite-plugin-bookmarklet

vite 插件,可以将项目打包构建成一个可以直接在浏览器书签栏中运行的 bookmarklet。

📄 安装

npm i @xiaohuohumax/vite-plugin-bookmarklet -D

🔨 使用

// vite.config.ts
import { defineConfig } from 'vite'
import bookmarklet from '@xiaohuohumax/vite-plugin-bookmarklet'

export default defineConfig({
  plugins: [
    bookmarklet({
      // 配置项
    })
  ]
})

Package Sidebar

Install

npm i @xiaohuohumax/vite-plugin-bookmarklet

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

9.98 kB

Total Files

6

Last publish

Collaborators

  • xiaohuohumax