Skip to content

Shinigami92/vite-plugin-time-reporter

Repository files navigation

vite-plugin-time-reporter

license: MIT NPM package downloads Code style: Prettier Awesome Build Status

Time reporting for Vite project.

Usage

  1. Install as devDependencies

    npm add --save-dev vite-plugin-time-reporter
    # or
    yarn add --dev vite-plugin-time-reporter
    # or
    pnpm add --save-dev vite-plugin-time-reporter
  2. Inject vite-plugin-time-reporter using the vite.config.ts module

    import vue from '@vitejs/plugin-vue';
    import { defineConfig } from 'vite';
    import timeReporter from 'vite-plugin-time-reporter';
    
    // https://vitejs.dev/config/
    export default defineConfig({
      plugins: [timeReporter()],
    });

Example

More Awesome Vite Plugins

Can be found here: Awesome Vite.js