npm i -D webpack-branch-notes-plugin
Include th following in your webpack config
const BranchNotesPlugin = require('webpack-branch-notes-plugin')
...
plugins: [
new BranchNotesPlugin()
]
/* packageName | packageVersion | currentBranchName | currentCommitHash */
...js content
- includes: array, default: ['packageName', 'packageVersion', 'branchName', 'commitHash']
MIT