1.0.1 • Published 1 year ago

speed-measure-vite-plugin v1.0.1

Weekly downloads
-
License
UNLICENSE (HTTP:/...
Repository
github
Last release
1 year ago

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.
1.0.1

1 year ago

1.0.0

1 year ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago