mirror of https://github.com/lukechilds/rollup.git
3 changed files with 16 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||||
|
module.exports = { |
||||
|
description: 'deconflicts generated default export names', |
||||
|
solo: true |
||||
|
}; |
@ -0,0 +1,9 @@ |
|||||
|
export default notActuallyFoo; |
||||
|
|
||||
|
function notActuallyFoo () { |
||||
|
return 'not ' + foo(); |
||||
|
} |
||||
|
|
||||
|
function foo () { |
||||
|
return 'actually foo'; |
||||
|
} |
@ -0,0 +1,3 @@ |
|||||
|
import foo from './foo'; |
||||
|
|
||||
|
assert.equal( foo(), 'not actually foo' ); |
Loading…
Reference in new issue