mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
8 years ago
3 changed files with 14 additions and 1 deletions
@ -0,0 +1,8 @@ |
|||
const assert = require( 'assert' ); |
|||
|
|||
module.exports = { |
|||
description: 'does not treat this.foo as a possible namespace (#1258)', |
|||
exports: exports => { |
|||
assert.equal( typeof exports.Foo, 'function' ); |
|||
} |
|||
}; |
@ -0,0 +1,5 @@ |
|||
export class Foo { |
|||
constructor ( name ) { |
|||
this.name = undefined; |
|||
} |
|||
} |
Loading…
Reference in new issue