speed-measure-vite-plugin

1.0.1 • Public • Published

speed-measure-vite-plugin

NPM NPM License Bundlephobia

Measures your vite plugins transform speed.

snapshot

Usage

// vite.config.js
import smvp from 'speed-measure-vite-plugin'

export default defineConfig({
  plugins: smvp([vue()]), // smvp(plugins, opts)
})

Opts

  • sort {function} Default undefined. Optional. Sort print by time, like array.sort
  • maxTransformTimeOnce {number} Default 1000. Optional, ms. Since Vite doesn't provide direct access to lifecycle hooks for pages or the completion of hot updates in development mode, an approximate indication of the transform process completion can be determined using a delay-based approach.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    796
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    796
  • 0.1.2
    1,406
  • 0.1.1
    0
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i speed-measure-vite-plugin

Weekly Downloads

2,202

Version

1.0.1

License

UNLICENSE (HTTP://UNLICENSE.ORG/)

Unpacked Size

9.1 kB

Total Files

5

Last publish

Collaborators

  • lbb00