Injection the build time to the index html. like this:
<!-- build at 9/26/2022, 2:41:09 AM -->
npm i -D vite-plugin-injection
// vite.config.ts
import Injection from 'vite-plugin-injection'
export default {
plugins: [
Injection()
]
}
Injection the build time to the index html. like this:
<!-- build at 9/26/2022, 2:41:09 AM -->
npm i -D vite-plugin-injection
// vite.config.ts
import Injection from 'vite-plugin-injection'
export default {
plugins: [
Injection()
]
}
npm i vite-plugin-injection
2
0.1.3
MIT
5.5 kB
6