1.0.1 • Published 2 years ago
webpack-branch-notes-plugin v1.0.1
webpack-branch-notes-plugin
Installation
npm i -D webpack-branch-notes-plugin
Usage
Include th following in your webpack config
const BranchNotesPlugin = require('webpack-branch-notes-plugin')
...
plugins: [
new BranchNotesPlugin()
]
Output
/* packageName | packageVersion | currentBranchName | currentCommitHash */
...js content
Options
- includes: array, default: 'packageName', 'packageVersion', 'branchName', 'commitHash'
License
MIT