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