gitlab-ci-buildinfo-webpack-plugin

1.0.4 • Public • Published

Webpack plugin for creating a file containing gitlab-ci build information

License: MIT

Simple plugin which will take GitLab CI environment variables and write them to a file

Installation

npm i gitlab-ci-buildinfo-webpack-plugin --save-dev

Usage

const GitlabCIBuildInfoPlugin = require('gitlab-ci-buildinfo-webpack-plugin')
 
// webpack configuration
{
  plugins: [
    new GitlabCIBuildInfoPlugin({options})
  ]
}

List of possible options:

var opts = {
    // the name and path of the file containing the gitlab-ci build information, relative to the webpack output directory
    versionFileName: 'version.json'
};

Package Sidebar

Install

npm i gitlab-ci-buildinfo-webpack-plugin

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

10.5 kB

Total Files

12

Last publish

Collaborators

  • rgba_