Time reporting for Vite project.
-
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
-
Inject
vite-plugin-time-reporter
using thevite.config.ts
moduleimport 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()], });
Can be found here: Awesome Vite.js