git-version-webpack-plugin:将Git版本信息拉入Webpack

时间:2021-02-10 08:55:34
【文件属性】:
文件名称:git-version-webpack-plugin:将Git版本信息拉入Webpack
文件大小:9KB
文件格式:ZIP
更新时间:2021-02-10 08:55:34
JavaScript Git版本Webpack插件 将Git版本信息拉入Webpack 安装 可作为NPM软件包 独立使用 // webpack.config.js const GitVersionPlugin = require ( '@eloquent/git-version-webpack-plugin' ) module . exports = { plugins : [ new GitVersionPlugin ( ) , ] , } 用法 // webpack.config.js const GitVersionPlugin = require ( '@eloquent/git-version-webpack-plugin' ) const HtmlPlugin = require ( 'html-webpack-plugin' ) module . exports = { pl
【文件预览】:
git-version-webpack-plugin-master
----.gitignore(86B)
----package.json(1004B)
----Makefile(186B)
----src()
--------index.js(4KB)
----jest.config.js(199B)
----LICENSE(1KB)
----.github()
--------workflows()
----.eslintrc.js(1KB)
----README.md(3KB)
----.eslintignore(27B)
----test()
--------suite()

网友评论