webpack-branch-notes-plugin

1.0.1 • Public • Published

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

/webpack-branch-notes-plugin/

    Package Sidebar

    Install

    npm i webpack-branch-notes-plugin

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.05 kB

    Total Files

    3

    Last publish

    Collaborators

    • gonenoob