Skip to content

Commit

Permalink
feat: add plugin name field
Browse files Browse the repository at this point in the history
  • Loading branch information
mjeanroy committed Nov 23, 2016
1 parent d905d21 commit b14b430
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/license-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class LicensePlugin {
* @param {Object} options Plugin options.
*/
constructor(options = {}) {
// Plugin name, used by rollup.
this.name = 'rollup-plugin-license';

this._options = options;
this._cwd = process.cwd();
this._dependencies = {};
Expand Down

0 comments on commit b14b430

Please sign in to comment.