mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
10 years ago
6 changed files with 41 additions and 1 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'deconflicts names that are assumed to be global' |
|||
}; |
@ -0,0 +1,6 @@ |
|||
import foo from './foo'; |
|||
|
|||
export default function() { |
|||
assert.equal( foo(), 'foo' ); |
|||
return Number; |
|||
}; |
@ -0,0 +1,5 @@ |
|||
export var Number = 42; |
|||
|
|||
export default function() { |
|||
return 'foo'; |
|||
}; |
@ -0,0 +1,5 @@ |
|||
import { Number } from './foo'; |
|||
import bar from './bar'; |
|||
|
|||
assert.equal( Number, 42 ); |
|||
assert.notEqual( bar(), Number ); |
Loading…
Reference in new issue