vite-plugin-injection

A vite plugin for injection the build time to the index html.


Keywords
vite-plugin, injection
License
MIT
Install
npm install vite-plugin-injection@0.1.2

Documentation

vite-plugin-injection

NPM version

Injection the build time to the index html. like this:

<!-- build at 9/26/2022, 2:41:09 AM -->

Install

npm i -D vite-plugin-injection

Usage

// vite.config.ts
import Injection from 'vite-plugin-injection'

export default {
  plugins: [
    Injection()
  ]
}

License

MIT License © 2022 JiatLn