Skip to content

Commit

Permalink
Update item.js
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Jun 23, 2020
1 parent 94c1135 commit 5519138
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/babel-core/src/config/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ class ConfigItem {
this._descriptor = descriptor;
Object.defineProperty(this, "_descriptor", ({ enumerable: false }: any));

this._isConfigItem = true;
Object.defineProperty(this, "_isConfigItem", ({ enumerable: false }: any));
Object.defineProperty(this, Symbol.for("@babel/core@7 - ConfigItem"), ({
enumerable: false,
value: true
}: any));

this.value = this._descriptor.value;
this.options = this._descriptor.options;
Expand Down

0 comments on commit 5519138

Please sign in to comment.