get-version-plugin
v0.0.8
Published
get project version after build
Downloads
3
Readme
get-version-plugin
webpack plugin for getting project version when webpack finished build
use
npm install get-version-plugin -D
webpack.config.js
const GetVersionPlugin = require("get-version-plugin");
plugins: [
new GetVersionPlugin({
path: path.join(__dirname, "./public/version.json"),
}),
]