mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
9 years ago
6 changed files with 23 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
module.exports = { |
|||
solo: true, |
|||
description: 'deshadows top-level declarations' |
|||
}; |
@ -0,0 +1 @@ |
|||
import './x'; |
@ -0,0 +1,5 @@ |
|||
import { foo as _foo } from './foo'; |
|||
|
|||
export default function foo () { |
|||
_foo(); |
|||
} |
@ -0,0 +1,3 @@ |
|||
function foo () {} |
|||
|
|||
export { foo }; |
@ -0,0 +1,5 @@ |
|||
import './foo'; |
|||
import './a'; |
|||
import b from './b'; |
|||
|
|||
assert.equal( typeof b, 'function' ); |
@ -0,0 +1,5 @@ |
|||
import { foo } from './foo'; |
|||
|
|||
function x () { |
|||
foo(); |
|||
} |
Loading…
Reference in new issue