Skip to content

Commit

Permalink
fix(babel-plugin-export-metadata): disable enumerable for __filemeta
Browse files Browse the repository at this point in the history
  • Loading branch information
ejuo committed May 21, 2019
1 parent efb89ee commit 38d10fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion other-packages/babel-plugin-export-metadata/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { get } = require('lodash')
const buildFileMeta = template(`
if (typeof ID !== 'undefined' && ID && ID === Object(ID) && Object.isExtensible(ID)) {
Object.defineProperty(ID, '__filemeta', {
enumerable: true,
configurable: true,
value: {
name: NAME,
Expand Down

0 comments on commit 38d10fc

Please sign in to comment.