1.0.4 • Published 2 years ago

vite-plugin-minverversion v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vite-plugin-minverversion

Automatically gets the minver version of the project and adds to Vite's define.

Install

npm i vite-plugin-minverversion --save-dev

Usage

// vite.config.js

import minverVersion from 'vite-plugin-minverversion'

export default {
    plugins: [
        minverVersion()
    ]
}

TypeScript support

// vite-env.d.ts

/// <reference types="vite/client" />
declare const MINVER_VERSION: string;
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago