webpack-plugin-project-version
v1.0.0
Published
webpack项目生成版本文件插件
Downloads
2
Readme
webpack项目生成版本文件插件
🛠️ 使用方法
npm i webpack-plugin-project-version -D
import path from "path"
import webpackVersionProjectPlugin from "webpack-plugin-project-version"
module.exports = {
configureWebpack:{
plugins: [
new VersionPlugin({
path: path.resolve(__dirname, "./dist/static"),
version: Timestamp
})
]
}
}