vite-plugin-add-commit-info
v0.0.4
Published
auto add version commit info to your index.html
Downloads
5
Readme
🚀 vite-plugin-add-commit-info
自动添加版本信息
auto add version commit info to your index.html
install
npm i vite-plugin-add-commit-info -D
use
import { defineConfig } from 'vite';
import addCommitInfo from 'vite-plugin-add-commit-info';
export default defineConfig({
plugins: [
addCommitInfo(),
// ... others
]
});
warn
because [email protected], node version >= 16
npm i vite-plugin-add-commit-info
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=16' },
npm WARN EBADENGINE current: { node: 'v14.21.3', npm: '9.7.2' }
npm WARN EBADENGINE }
LICENSE
MIT