0.0.4 • Published 1 year ago

vite-plugin-add-commit-info v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

🚀 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 jsdom@22.1.0, node version >= 16

npm i vite-plugin-add-commit-info
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'jsdom@22.1.0',
npm WARN EBADENGINE   required: { node: '>=16' },
npm WARN EBADENGINE   current: { node: 'v14.21.3', npm: '9.7.2' }
npm WARN EBADENGINE }

LICENSE

MIT

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago