Skip to content

herbertxy/get-version-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"),
    }),
    ]

About

generator a version file with project git info after webpack build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published